Send document comments to nexus7k-docfeedback@cisco.com
8-7
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 8 Configuring IP Tunnels
Configuring IP Tunnels
You can configure the following optional parameters to tune the tunnel in interface configuration mode:
This example shows how to create a tunnel interface:
switch# configure terminal
switch(config)# interface tunnel 1
switch(config-if)# tunnel source ethernet 1/2
switch(config-if)# tunnel destination 192.0.2.1
switch(config-if)# copy running-config startup-config
Configuring a GRE Tunnel
You can set a tunnel interface to GRE tunnel mode.
BEFORE YOU BEGIN
Ensure that you have enabled the tunneling feature.
SUMMARY STEPS
1. configure terminal
2. interface tunnel number
3. tunnel mode gre ip
4. show interfaces tunnel number
5. copy running-config startup-config
Command Purpose
description string
Example:
switch(config-if)# description GRE tunnel
Configures a description for the tunnel.
mtu value
Example:
switch(config-if)# mtu 1400
Sets the MTU of IP packets sent on an interface.
tunnel ttl value
Example:
switch(config-if)# tunnel ttl 100
Sets the tunnel time-to-live value. The range is
from 1 to 255.