3com MSR 20-20 참조 매뉴얼
1754
C
HAPTER
103: GRE C
ONFIGURATION
C
OMMANDS
interface tunnel
Syntax
interface tunnel number
undo interface tunnel number
View
System view
Parameter
number: Number of a tunnel interface, in the range 0 to 1023. The volume of
tunnels is subject to the total number of interfaces and the capacity of memory.
tunnels is subject to the total number of interfaces and the capacity of memory.
Description
Use the interface tunnel command to create a tunnel interface and enter tunnel
interface view.
interface view.
Use the undo interface tunnel command to remove a tunnel interface.
By default, there is no tunnel interface on the device.
■
Executing the interface tunnel command, you enter tunnel interface view if
the tunnel interface exists.
the tunnel interface exists.
■
A tunnel interface number has only local significance. Therefore, both ends of a
tunnel can have the same interface number or different interface numbers.
tunnel can have the same interface number or different interface numbers.
Related command:
Example
# Create an interface named Tunnel3 and enter its view.
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3]
keepalive
Syntax
keepalive [ seconds [ times ] ]
undo keepalive
View
Tunnel interface view
Parameter
seconds: Interval between transmitting keepalive packets, in the range 1 to
32,767 seconds. The default value is 10.
32,767 seconds. The default value is 10.
times: Maximum number of attempts for transmitting a keepalive packet, in the
range 1 to 255. The default value is 3.
range 1 to 255. The default value is 3.
Description
Use the keepalive command to enable the GRE keepalive function to detect the
status of the tunnel interfaces and set the keepalive interval and the maximum
number of attempts for transmitting a keepalive packet.
status of the tunnel interfaces and set the keepalive interval and the maximum
number of attempts for transmitting a keepalive packet.