< Home

reset nd snooping prefix

Function

The reset nd snooping prefix command clears prefix management entries of users.

Format

reset nd snooping prefix [ ipv6-address/prefix-length ]

Parameters

Parameter

Description

Value

ipv6-address

Specifies an IPv6 address.

The value is a 32-digit hexadecimal number in X:X:X:X:X:X:X:X format.

prefix-length

Specifies the prefix length.

The value is an integer ranging from 1 to 128.

If the global unicast address needs to be set in EUI-64 format, the value of prefix-length ranges from 1 to 64.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The ND server that functions as the gateway router sends RA packets periodically to instruct users to update prefixes. The switch that functions as the access device establishes prefix management entries based on RA packets to maintain and manage user prefixes.

Generally, do not delete prefix management entries of users manually. Run the reset nd snooping prefix command to delete prefix management entries of users if the following requirements are met:

  • The user lease does not expire and the prefix management table cannot age automatically.
  • The user is no longer connected to the network.

Precautions

After a prefix management entry is deleted, the switch cannot establish the ND snooping dynamic binding table for new users with the prefix management entry.

Example

# Delete the prefix management entry with the prefix address being fc00:1::1 and the prefix length being 64.

<HUAWEI> reset nd snooping prefix fc00:1::1/64 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >