vrrp6 un-check hop-limit

Function

The vrrp6 un-check hop-limit command disables a router from checking the hop count in a received Virtual Router Redundancy Protocol for IPv6 (VRRP6) packet.

The undo vrrp6 un-check hop-limit command enables a router to check the hop count in a received VRRP6 packet.

By default, a router checks the hop count in a received VRRP6 packet.

Format

vrrp6 un-check hop-limit

undo vrrp6 un-check hop-limit

Parameters

None

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vrrp write

Usage Guidelines

Usage Scenario

According to relevant standards , a router checks the hop count in every received VRRP6 packet and discards a packet if its hop count is not 255.

If a non-Huawei device that does not support a hop count check sends a VRRP6 packet carrying a hop count other than 255 to a Huawei device that supports a hop count check, the Huawei device discards the packet. To resolve this issue, run the vrrp6 un-check hop-limit command to disable a router from checking the hop count in a received VRRP6 packet.

Configuration Impact

After the vrrp6 un-check hop-limit command is run on a router, the router does not check the hop count in a received VRRP6 packet.

Precautions

To prevent a router from being attacked by invalid packets, exercise caution when running the vrrp6 un-check hop-limit command.

Example

# Disable a router from checking the hop count in a received VRRP6 packet.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ipv6 address 2001:db8::1 64
[*HUAWEI-GigabitEthernet0/1/0] vrrp6 vrid 1 virtual-ip fe80::1 link-local
[*HUAWEI-GigabitEthernet0/1/0] vrrp6 un-check hop-limit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >