Send document comments to nexus7k-docfeedback@cisco.com
8-6
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 8 Configuring IP Tunnels
Configuring IP Tunnels
DETAILED STEPS
Use the no interface tunnel command to remove the tunnel interface and all associated configuration.
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface tunnel number
Example:
switch(config)# interface tunnel 1
switch(config-if)#
Creates a new tunnel interface.
Step 3
tunnel source {ip-address |
interface-name}
Example:
switch(config-if)# tunnel source
ethernet 1/2
Configures the source address for this IP tunnel.
Step 4
tunnel destination {ip-address |
host-name}
Example:
switch(config-if)# tunnel destination
192.0.2.1
Configures the destination address for this IP tunnel.
Step 5
tunnel use-vrf vrf-name
Example:
switch(config-if)# tunnel use-vrf blue
(Optional) Uses the configured VRF to look up the
tunnel IP destination address.
Step 6
show interfaces tunnel number
Example:
switch(config-if)# show interfaces
tunnel 1
(Optional) Displays the tunnel interface statistics.
Step 7
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
no interface tunnel number
Example:
switch(config)# no interface tunnel 1
Deletes the tunnel interface and the associated
configuration.