< Home

tunnel ipv4-ipv6 hop-limit

Function

The tunnel ipv4-ipv6 hop-limit command sets the hop limit.

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

By default, the hop limit is set to 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. The value is an integer ranging from 1 to 255.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

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

Before running the tunnel ipv4-ipv6 hop-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.

Example

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

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