HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference
324
Examples
# Set the maximum number of nested encapsulations to 3 on the tunnel interface.
<Sysname> system-view
[Sysname] interface tunnel 1 mode ipv6
[Sysname-Tunnel1] encapsulation-limit 3
Related commands
display interface tunnel
interface tunnel
Use interface tunnel to create a tunnel interface, specify the tunnel mode, and enter tunnel interface view.
Use undo interface tunnel to delete a specific tunnel interface.
Syntax
interface tunnel number [ mode { ds-lite-aftr | gre [ ipv6 ] | ipv4-ipv4 | ipv6 | ipv6-ipv4 [ 6to4 |
auto-tunnel | isatap ] | mpls-te } ]
undo interface tunnel number
Default
No tunnel interface is created on the device.
Views
System view
Predefined user roles
network-admin
Parameters
number: Specifies the number of the tunnel interface, in the range of 0 to 1023. The maximum number
of tunnel interfaces that can be created is restricted by the total number of interfaces and the memory.
mode ds-lite-aftr: Specifies DS-Lite tunnel mode on the AFTR.
mode gre: Specifies GRE over IPv4 tunnel mode.
mode gre ipv6: Specifies GRE over IPv6 tunnel mode.
mode ipv4-ipv4: Specifies IPv4 over IPv4 tunnel mode.
mode ipv6: Specifies IPv6 tunnel mode. Set this mode for IPv4 over IPv6 manual and IPv6 over IPv6
tunnels.
mode ipv6-ipv4: Specifies IPv6 over IPv4 manual tunnel mode.
mode ipv6-ipv4 6to4: Specifies 6to4 tunnel mode.
mode ipv6-ipv4 auto-tunnel: Specifies IPv4-compatible IPv6 automatic tunnel mode.
mode ipv6-ipv4 isatap: Specifies ISATAP tunnel mode.
mode mpls-te: Specifies MPLS TE tunnel mode.
Usage guidelines
To create a new tunnel interface, you must specify the tunnel mode in this command. To enter the view of
an existing tunnel interface, you do not need to specify the tunnel mode.










