Verifying the IP Tunnel Configuration
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m
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
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
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
8-10
Chapter 8
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.
Configuring IP Tunnels
OL-23435-03