interfaces tunnel <tunx> remote-ip <address>
Sets the IP address for the remote endpoint of a tunnel.
- tunx
- The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
- ipv4
- An IPv4 address to use as the tunnel endpoint on the remote router. The IP address must already be configured for the interface.
- ipv6
- An IPv6 address to use as the tunnel endpoint on the remote router. The IP address must already be configured for the interface.
Configuration mode
interfaces {
tunnel tunx {
remote-ip
ipv4
ipv6
}
}
Note that the tunnel cannot be established when both the local and remote endpoints are not configured.
Use the set form of this command to set the IP address to use as the remote endpoint of a tunnel.
Use the delete form of this command to delete the remote endpoint of a tunnel.
Use the show form of this command to display the IP address for the remote endpoint of a tunnel.