The destination command specifies the destination address of a soft GRE tunnel.
The undo destination command restores the default destination address of a soft GRE tunnel.
By default, the destination address of a soft GRE tunnel is not configured.
destination { ip-address destination-ip-address | ipv6-address destination-ipv6-address }
undo destination
Parameter | Description | Value |
---|---|---|
ip-address destination-ip-address | Specifies the destination IPv4 address of a soft GRE tunnel. |
The value is in dotted decimal notation. |
ipv6-address destination-ipv6-address | Specifies the destination IPv6 address of a soft GRE tunnel. |
The value is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. |
Usage Scenario
In soft GRE tunnel forwarding mode, the destination address of a soft GRE tunnel must be configured, that is, the IP address of the remote end for the soft GRE tunnel, so that service data can be forwarded to the specified destination address.
Precautions
The route between the AP and destination address of the soft GRE tunnel must be reachable.
The destination address of the soft GRE tunnel must be configured in a soft GRE profile. The same destination address cannot be configured in different soft GRE profiles.
If the type of an AP's IP address is different from that of the destination address configured in the soft GRE profile, the soft GRE tunnel cannot be created on the AP.
If you run the destination command multiple times, the latest configuration takes effect.