The tunnel ipv4-ipv6 encapsulation-limit command configures the maximum number of times that IPv6 encapsulation can be performed.
The undo tunnel ipv4-ipv6 encapsulation-limit command restores the maximum number of times that IPv6 encapsulation can be performed to the default value.
By default, a maximum of four times of IPv6 encapsulation can be performed on embedded tunnel nodes.
tunnel ipv4-ipv6 encapsulation-limit encapsulation-limit
undo tunnel ipv4-ipv6 encapsulation-limit
| Parameter | Description | Value |
|---|---|---|
| encapsulation-limit | Specifies the maximum number of times for performing IPv6 encapsulation on embedded tunnel nodes. | The value is an integer ranging from 0 to 255. |
The tunnel encapsulation limit is the value of the tunnel encapsulation limit option carried in the destination option extension header in the IPv6 tunnel header.
Before running the tunnel ipv4-ipv6 encapsulation-limit command in the tunnel interface view, you need to run the tunnel-protocol ipv4-ipv6 command in the tunnel interface view to configure the tunnel mode as the IPv4 over IPv6 manual tunnel mode.
When Huawei devices communicate with the non-Huawei devices, you must run the undo tunnel ipv4-ipv6 encapsulation-limit command to cancel the restriction on the number of times for performing IPv6 encapsulation.