Cisco N7K-C7010 Configuration Guide - Page 274
Verifying the IP Tunnel Configuration, Configuration Examples for IP Tunneling
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 274 highlights
Verifying the IP Tunnel Configuration Chapter 8 Configuring IP Tunnels Send document comments to [email protected] The following example shows how to add a tunnel interface to the VRF: switch# configure terminal switch(config)# interface tunnel 0 switch(config-if)# vrf member RemoteOfficeVRF switch(config-if)# ip address 209.0.2.1/16 switch(config-if)# copy running-config startup-config Verifying the IP Tunnel Configuration To verify IP tunnel configuration information, perform one of the following tasks: Command show interface tunnel number show interface tunnel number brief show interface tunnel number description show interface tunnel number status show interface tunnel number status err-disabled Purpose Displays the configuration for the tunnel interface (MTU, protocol, transport, and VRF). Displays input and output packets, bytes, and packet rates. Displays the operational status, IP address, encapsulation type, and MTU of the tunnel interface. Displays the configured description of the tunnel interface. Displays the operational status of the tunnel interface. Displays the error disabled status of the tunnel interface. Configuration Examples for IP Tunneling The following example shows a simple GRE tunnel. Ethernet 1/2 is the tunnel source for router A and the tunnel destination for router B. Ethernet interface 2/1 is the tunnel source for router B and the tunnel destination for router A. router A: feature tunnel interface tunnel 0 ip address 209.165.20.2/8 tunnel source ethernet 1/2 tunnel destination 192.0.2.2 tunnel mode gre ip tunnel path-mtu-discovery 25 1500 interface ethernet1/2 ip address 192.0.2.55/8 router B: feature tunnel interface tunnel 0 ip address 209.165.20.1/8 tunnel source ethernet2/1 tunnel destination 192.0.2.55 tunnel mode gre ip interface ethernet 2/1 ip address 192.0.2.2/8 8-10 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x OL-23435-03