< Home

reset ipv6 neighbors

Function

The reset ipv6 neighbors command clears the IPv6 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 static and dynamic neighbor entries of all the interfaces. -
dynamic

The first dynamic indicates to clear dynamic neighbor entries of all interfaces.

The second dynamic indicates to clear dynamic neighbor entries of the interface which is specified currently.

-
static

The first static indicates to clear static neighbor entries of all interfaces.

The second static indicates to clear static neighbor entries of the interface which is specified currently.

-
vid vlan-id Clears the neighbor entries of the specified VLAN. The value is an integer ranging from 1 to 4094.
interface-type interface-number Clears static and dynamic neighbor entries of the specified interface. -

Views

User view

Default Level

2: Configuration level

Usage Guidelines

This command resets IPv6 neighbor entries. Therefore, confirm the action before you use the command.

Example

# Clear all the neighbor entries of all interfaces.

<sysname> 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]:

# Clear all the static neighbor entries of all interfaces.

<sysname> reset ipv6 neighbors static
Warning: This operation will delete all static IPv6 ND entries and the configurations of all static IPv6 ND. Continue?[Y/N]:
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >