Reference Guide
Usage Information
To enable a tunnel interface, use this command. You must define a tunnel mode
for the tunnel to function. If you previously defined the tunnel destination or
source address, the tunnel mode must be compatible.
Including the decapsulate-any option causes the command to fail if any of the
following tunnel transmit options are configured: tunnel destination, tunnel dscp,
tunnel flow-label, tunnel hop-limit, or tunnel keepalive. Conversely, if you
configure any tunnel allow-remote entries, the tunnel—mode command fails
unless the decapsulate-any option is included.
Configuration of IPv6 commands over decapsulate-any tunnel causes an error.
tunnel source
Set a source address for the tunnel.
C9000 Series
Syntax
tunnel source {ip-address | ipv6–address | interface-type-
number | anylocal}
To delete the current tunnel source address, use the no tunnel source
command.
Parameters
ip-address Enter the source IPv4 address in A.B.C.D format.
ipv6–address Enter the source IPv6 address in X:X:X:X::X format.
interface-type-
number
• For a port channel interface, enter the keywords port-
channel then a number from 1 to 128.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
• For a VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
anylocal
Enter the anylocal command to allow the multipoint
receive-only tunnel to decapsulate tunnel packets destined
to any local ip address.
Defaults none
Command Modes INTERFACE TUNNEL (conf-if-tu)
Command History
Version Description
9.9(0.0) Introduced on the C9010.
2028
Tunneling Commands