Tunnel commands, Tunnel commands -30 – ADC SG-1 User Manual
Page 110
Chapter 7: Second Level Commands
7-30
T
UNNEL
COMMANDS
This command defines a remote (the tunnel initiator) tunnel endpoint IP address, which allowed opening ip-in-ip or
GRE tunnels to the system.
The local tunnel endpoint ip address (tunnel destination) should be one of the system IP addresses (Ethernet,
VLAN, Loopback, or ATM).
The system should refuse the interface tunnel command when a local tunnel endpoint IP address is not one of the
configured system IP addresses (i.e., interface or loopback).
Usage
interface tunnel
Parameter(s)
This is the tunnel interface number; valid number range is 1 to 500.
This is the remote tunnel endpoint IP address; it must be a system legal IP address.
This is the local tunnel endpoint IP address; it must be a system legal IP address which is one of the system
interfaces (Ethernet, ATM, or Loopback).
This is the system allowed tunnel types: ip-in-ip or GRE.
This is the tunnel mode, the default is Standard (roamed).
Example 1
Example 2
Host(config)# interface tunnel
Host(config)# interface tunnel 1 192.168.0.1 10.0.1.7 ip-in-ip
Operation error:
Local tunnel endpoint IP address should be on of the system interfaces
Host(config)# interface tunnel 1 192.168.1.8 10.0.1.7 gre roamed
Host(config)# native-ip enable interface tunnel 1
Host(config)# end
Host# write terminal
...
interface tunnel 1 192.168.1.8 10.0.1.7 gre roamed
native-ip enable interface tunnel 1
...