Service Manual

Syntax
tunnel mode {ipip | ipv6 | ipv6ip}[decapsulate-any]
To disable an active tunnel interface, use the no tunnel mode command.
Parameters
ipip Enable tunnel in RFC 2003 mode and encapsulate IPv4 and/or IPv6 datagrams
inside an IPv4 tunnel.
ipv6 Enable tunnel in RFC 2473 mode and encapsulate IPv4 and/or IPv6 datagrams
inside an IPv6 tunnel.
ipv6ip Enable tunnel in RFC 4213 mode and encapsulate IPv6 datagrams inside an IPv4
tunnel.
decapsulate-any (Optional) Enable tunnel in multipoint receive-only mode.
Defaults There is no default tunnel mode.
Command Modes INTERFACE TUNNEL
Command History
Version Description
9.8(0.0) Introduced on the S3048-ON and S4048-ON.
9.7(0.0) Introduced on the S6000-ON.
9.5(0.1) Introduced on the Z9500.
9.4(0.0) Added the decapsulate-any command.
9.3(0.1) Introduced on the S6000 and Z9000.
Usage Information
To enable a tunnel interface, use this command. You must dene a tunnel mode for the tunnel to function. If
you previously dened 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 congured: tunnel destination, tunnel dscp, tunnel ow-label, tunnel hop-limit, or tunnel
keepalive. Conversely, if you congure any tunnel allow-remote entries, the tunnel—mode command fails
unless the decapsulate-any option is included.
Conguration of IPv6 commands over decapsulate-any tunnel causes an error.
tunnel source
Set a source address for the tunnel.
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.
1458
Tunneling