1754 CHAPTER 103: GRE CONFIGURATION COMMANDS

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.

Description Use the interface tunnel command to create a tunnel interface and enter tunnel 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.

A tunnel interface number has only local significance. Therefore, both ends of a tunnel can have the same interface number or different interface numbers.

Related command: source, destination, gre key, gre checksum, and tunnel-protocolon page 887.

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.

times: Maximum number of attempts for transmitting a keepalive packet, in the 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.

Page 1754
Image 1754
3Com MSR 30, MSR 50 manual Interface tunnel, Syntax interface tunnel number Undo interface tunnel number