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

367
Syntax
encapsulation-limit number
undo encapsulation-limit
Default
There is no limit to the nested encapsulations of a packet.
Views
Tunnel interface view
Predefined user roles
network-admin
Parameters
number: Specifies the number of nested encapsulations, in the range of 0 to 10.
Usage guidelines
A packet added with excessive headers becomes oversized. If it exceeds the MTU, it must be fragmented,
which decreases forwarding rate and increases processing complexity. To avoid this situation, use this
command to limit the number of encapsulations.
This command is applicable to only IPv6 over IPv6 tunnels.
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