F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices VPN Command Reference-6PW100
21
<Sysname> system-view
[Sysname] interface tunnel 2
[Sysname-Tunnel2] tunnel-protocol ipv6-ipv6
[Sysname-Tunnel2] encapsulation-limit 3
interface tunnel
Use interface tunnel to create a tunnel interface and enter tunnel interface view.
Use undo interface tunnel to delete a specific tunnel interface.
Syntax
interface tunnel number
undo interface tunnel number
Default
No tunnel interface is created on the device.
Views
System view
Default command level
2: System level
Parameters
number: Number of the tunnel interface. The value ranges from 0 to 4095. The number of tunnel
interfaces that can be created is restricted by the total number of interfaces and the memory.
Usage guidelines
Use the interface tunnel command to enter the interface view of a specific tunnel. If the specified tunnel
interface does not exist, the system creates the interface and enters its view.
A tunnel interface number is locally significant. The tunnel interfaces on the two ends of a tunnel can use
the same or different interface numbers.
Examples
# Create interface Tunnel 3 and enter tunnel interface view.
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3]
Related commands
• display interface tunnel
• display ipv6 interface tunnel
• source
• destination
• tunnel-protocol
mtu
Use mtu to set the MTU for IPv4 packets on a tunnel interface.