Cisco Cisco Packet Data Gateway (PDG)

Pagina di 9109
  Tunnel Interface Configuration Mode Commands 
tunnel-mode  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
9031 
tunnel-mode 
Configures the tunnel mode type for this tunnel interface. It also enters the specific tunnel configuration mode, if 
required. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Tunnel Interface Configuration 
configure > context context_name > interface interface_name tunnel
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-if-tunnel)# 
Syntax
 
tunnel-mode { gre | ipv6ip } 
defualt tunnel-mode 
default
 
Sets the default tunnel mode for this interface. By default, the tunnel mode is set to IPv6-to-IPv4 type. 
gre
 
Default: Disabled 
Sets the tunnel interface mode to Generic Routing Encapsulation (GRE) type and enters the GRE Tunnel 
Configuration mode, if required. 
ipv6ip
 
Default: Enabled 
Sets the tunnel interface mode to IPv6-to-IPv4 type and creates the IPv6-to-IPv4 Tunnel Configuration mode, 
if required. 
Usage 
Use this command to set the tunnel mode type of GRE or IPv6-to-IPv4 for the tunneling interface. 
For SaMOG, use the 
tunnel-mode gre 
command to configure a GRE tunnel for the IP over GRE feature. 
This command requires an additional GRE Interface Tunneling license to create IP-GRE tunnels.  
Example
 
The following command sets the tunnel mode to GRE for specific interface: 
tunnel-mode gre