tunnel mode (IP)
To set the encapsulation mode of the tunnel interface, use the tunnel mode in interface configuration mode.
To delete the encapsulation mode, use the no form of this command.
tunnel mode gre ipv4
no tunnel mode
Syntax Description
Generic Routing Encapsulation tunnel component.gre
IPv4 address of the tunnel interface.
ipv4
Command Default
The default tunnel mode is gre ipv4.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Release 3.9.0
Usage Guidelines
The tunnel is not operational until one of the modes is specified. Only one mode can be specified for a tunnel
instance at any given time.
Task ID
OperationsTask ID
read, writetunnel
read, writeinterface
Examples
The following example shows how to set the encapsulation mode of the tunnel interface:
RP/0/RP0/CPU0:router# configure
RP/0/RP0/CPU0:router(config)# interface tunnel-ip 1
RP/0/RP0/CPU0:router(config-if)# tunnel mode gre ipv4
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
OL-24740-01 141
IPSec Commands
tunnel mode (IP)