< Home

reset ipv6 neighbors

Function

The reset ipv6 neighbors command clears neighbor entries.

Format

reset ipv6 neighbors { all | dynamic | static | vid vlan-id [ interface-type interface-number ] | interface-type interface-number [ dynamic | static ] }

Parameters

Parameter Description Value
all Clears neighbor entries on all interfaces. -
dynamic

The first dynamic indicates that dynamic neighbor entries on all interfaces are cleared.

The second dynamic indicates that dynamic neighbor entries on the current interface are cleared.

-
static

The first static indicates that static neighbor entries on all interfaces are cleared.

The second static indicates that static neighbor entries on the current interface are deleted.

-
vid vlan-id Clears neighbor entries of a specified VLAN. The value is an integer that ranges from 1 to 4094.
interface-type interface-number Clears all neighbor entries on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

User view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the number of neighbor entries exceeds the upper limit, run the reset ipv6 neighbors command to clear excessive neighbor entries.

Precautions

The reset ipv6 neighbors command clears specified neighbor entries, which affects IPv6 packet forwarding. Therefore, confirm your action before running this command.

Example

# Clear all neighbor entries on all interfaces.

<HUAWEI> reset ipv6 neighbors all
Warning: This operation will delete all static and dynamic IPv6 ND entries and the configurations of all static IPv6 ND. Continue?[Y/N]:y

# Clear all neighbor entries on the specified interface VlANIF 10.

<HUAWEI> reset ipv6 neighbors vlanif 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >