R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

368
Parameters
number: Specifies the number of the tunnel interface. The number of tunnel interfaces that can be created
is restricted by the total number of interfaces and the memory. The following matrix shows the value
ranges for the number argument:
Hardware Value ran
g
e
MSR2000 0 to 1023
MSR3000 0 to 2047
MSR4000 0 to 4095
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.
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 a GRE over IPv4 tunnel interface Tunnel 1 and enter tunnel interface view.
<Sysname> system-view
[Sysname] interface tunnel 1 mode gre
[Sysname-Tunnel1]
Related commands
destination
display interface tunnel
source
mtu
Use mtu to set the MTU for IPv4 packets on a tunnel interface.
Use undo mtu to restore the default.