< Home

tunnel ipv4-ipv6 hop-limit

Function

The tunnel ipv4-ipv6 hop-limit command sets the hop limit of the IPv6 tunnel packets.

The undo tunnel ipv4-ipv6 hop-limit command restores the hop limit of the IPv6 tunnel packets to the default value.

By default, the hop limit of the IPv6 tunnel packets is 64.

Format

tunnel ipv4-ipv6 hop-limit hop-limit

undo tunnel ipv4-ipv6 hop-limit

Parameters

Parameter Description Value
hop-limit Specifies the hop limit of the IPv6 tunnel packets. The value is an integer that ranges from 1 to 255.

Views

system view, Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Setting the hop limit of the IPv6 tunnel packets can terminate the packet transmission when routing loops occur on the IPv6 tunnel. To make IPv6 tunnel packets reach the egress of the tunnel, the tunnel hop limit cannot be set too small.

  • If this command is configured in the tunnel interface view, it takes effect only on the current tunnel interface.

  • If this command is configured in the system view, it takes effect only on the mobile IPv6 network.

Before running the tunnel ipv4-ipv6 hop-limit command in the tunnel interface view, run the tunnel-protocol ipv4-ipv6 command in the same view to set the tunnel mode to the IPv4 over IPv6 manual tunnel.

The configuration in the system view and the configuration in the tunnel interface view are independent of each other.

Example

# Set the hop limit of the specified tunnel interface to 100.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol ipv4-ipv6
[HUAWEI-Tunnel1] tunnel ipv4-ipv6 hop-limit 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >