interface tunnel
Syntax
interface tunnel number
undo interface tunnel number
View
System view
Default level
2: System level
Parameters
number: Specifies the number of the tunnel interface. The number of tunnels that can be created is restricted by the total number of interfaces and the memory.
Description
Use interface tunnel to create a tunnel interface and enter its view.
Use undo interface tunnel to delete a specific tunnel interface.
By default, no tunnel interface is created on the device.
Use the interface tunnel command to enter the interface view of a specific tunnel. If the specified tunnel interface does not exist, the system will create the interface and enter its view.
A tunnel interface number is only locally significant. Thus, the tunnel interfaces on the two ends of a tunnel can use the same or different interface numbers.
Related commands: display interface tunnel, display ipv6 interface tunnel, source, destination, and tunnel-protocol.
Examples
# Create interface Tunnel 3 and enter its view.
<Sysname> system-view [Sysname] interface tunnel 3 [Sysname-Tunnel3]