tunnel mode
To configure the encapsulation mode of the tunnel interface, use the tunnel mode command. To revert the
encapsulation to the default IPv4 GRE tunnel mode, use the no form of this command.
tunnel mode {gre {ipv4 | ipv6} | ipv4 | ipv6}
no tunnel mode
Syntax Description
Syntax Description
Specifies the tunnel as a GRE
tunnel over an IPv4 transport
network.
ipv4gre
Specifies the tunnel as a GRE
tunnel over an IPv6 transport
network.
ipv6gre
Specifies the tunnel as an IP
in IP tunnel over an IPv4
transport network.
ipv4
Specifies the tunnel as an IP
in IP tunnel over an IPv6
transport network.
ipv6
Command Default
The default tunnel mode is set as a GRE tunnel over an IPv4 transport network.
Command Modes
interface configuration
Command History
ModificationRelease
This command was introduced.Release 4.2.0
Support for GRE tunnel on an IPv6 transport network.Release 5.2.2
Support for IP in IP tunnels.Release 5.3.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
51
Generic Routing Encapsulation Commands
tunnel mode