tunnel destination

When an encapsulating packet is sent into a tunnel, the tunnel destination address is used in the encapsulating IPv4 header. When decapsulating a packet, this address is matched against the source IP address in the encapsulating IPv4 header to determine if the packet was received on a valid, configured tunnel. The command is executed in tunnel context.


tunnel destination [ipv4-addr|ipv6-addr]

no tunnel destination [ipv4-addr|ipv6-addr]


Configures the IPv4 or IPv6 address of the remote end of the tunnel. Must not be the same address as the tunnel source. Tunnel mode must be configured before tunnel destination.

Example input

Configuring Destination and Source Addresses

Switch(tunnel-3)# tunnel source
Switch(tunnel-3)# tunnel destination