Use this command to configure the IPv4 or IPv6 destination address for this tunnel.
ip-address | Specifies the destination IPv4 or IPv6 tunnel address for the tunnel. |
None.
Tunnel Interface Configuration command mode.
Each tunnel has a source and destination IP address configured from the perspective of the local router. The destination address is the remote endpoint of the tunnel. The destination address can be either a loopback or VLAN interface, but is usually a loopback address.
Use the “no” option for this command to remove the destination IP address configuration for the tunnel.
This example shows how to configure the IPv4 destination address to 99.99.99.1 for tunnel 1:
System(rw)->configure System(rw-config)->interface tunnel 1 System(rw-config-intf-tun.0.1)->tunnel destination 99.99.99.1 System(rw-config-intf-tun.0.1)->show tunnel Codes:A = Admin status (E-enabled, D-disabled) O = Tunnel Oper status (U-up, D-down) P = Tunnel point or probe status (U-up, D-down, N-not configured or pending) T = Tunnel IP Address type (L-local, R-remote, P-Probe, K-Keepalive) Delivery Interface Mode Interface A O P T Endpoint IP Addresses --------- ----------- ----------- - - - - --------------------------------------- tun.0.1 gre vlan.0.50 E U U L 88.88.88.1 U R 99.99.99.1
This S- and K-Series example shows how to configure the IPv6 destination address to 2002:2010::5 for tunnel 10:
System(rw)->configure System(rw-config)->interface tunnel 10 System(rw-config-intf-tun.0.10)->tunnel destination 2002:2010::5 System(rw-config-intf-tun.0.10)->show tunnel tun.0.10 Codes:A = Admin status (E-enabled, D-disabled) O = Tunnel Oper status (U-up, D-down) P = Tunnel point or probe status (U-up, D-down, N-not configured or pending) T = Tunnel IP Address type (L-local, R-remote, P-Probe, K-Keepalive) Delivery Interface Mode Interface A O P T Endpoint IP Addresses --------- ----------- ----------- - - - - --------------------------------------- tun.0.10 gre unknown D D N L 2002:2010::1 U R 2002:2010::5