< Home

display nd snooping prefix

Function

The display nd snooping prefix command displays prefix management entries of users.

Format

display nd snooping [ static | dynamic ] prefix [ verbose ]

Parameters

Parameter

Description

Value

static

Displays statically configured prefix management entries.

-

dynamic

Displays dynamically generated prefix management entries.

-

verbose

Displays details about prefix management entries.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

A device can establish a prefix management table which can be used to implement duplicate address detection for users with IPv6 addresses and establish a dynamic ND snooping binding table. A prefix management entry can be statically configured or dynamically generated.
  • Dynamic generation: The device obtains an RA packet received from an ND snooping trusted interface and automatically generates a prefix management entry based on the RA packet.
  • Static configuration: When a gateway device does not send RA packets, you can run the nd snooping static-prefix command to configure a static prefix management entry.
You can run the display nd snooping prefix command to check prefix management entries.

Example

# Display prefix management entries of users.

<HUAWEI> display nd snooping prefix 
prefix-table:                                                                                                                       
Prefix                             Length   Valid-Time  Vlan(O/I)/BD   Prefix-Type                                                     
--------------------------------------------------------------------------------                                                    
FC00:1::                           64       -           10  /24/-      static                                                         
FC00:2::                           64       2592000     1   /-/-       dynamic                                                         
--------------------------------------------------------------------------------                                                    
Prefix table total count:      2          Print count:         2 
Table 1 Description of the display nd snooping prefix command output

Item

Description

prefix-table

Prefix management table of users.

Prefix

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

Length

Prefix length. The value is an integer that ranges from 1 to 128.

Valid-Time

Valid lifetime of a prefix. The value ranges from 0 to 4294967295, in seconds.

Vlan(O/I)/BD

VLAN or BD information in a prefix management entry.

Prefix-Type

Type of a prefix management entry. The value can be:
  • static: The prefix management entry is statically configured.
  • dynamic: The prefix management entry is dynamically generated.

Prefix table total count

Total number of entries in the prefix management table.

Print count

Number of displayed prefix management entries.

# Display prefix management entries of users.

<HUAWEI> display nd snooping prefix verbose
prefix-table:
--------------------------------------------------------------------------------
 Prefix                  : FC00:1::                                                                                                 
 Prefix Length           : 64                                                                                                       
 Valid Lifetime(sec)     : -                                                                                                        
 Preferred Lifetime(sec) : -                                                                                                        
 Interface               : -                                                                                                        
 VLAN ID(Outer/Inner)    : 10/24                                                                                                    
 Prefix Type             : static
--------------------------------------------------------------------------------
 Prefix                  : FC00:2::
 Prefix Length           : 64
 Valid Lifetime(sec)     : 2592000
 Preferred Lifetime(sec) : 2592000
 Interface               : GE0/0/1
 VLAN ID(Outer/Inner)    : 1/-
 Prefix Type             : dynamic
--------------------------------------------------------------------------------
Prefix table total count:      2          Print count:         2     
Table 2 Description of the display nd snooping prefix verbose command output

Item

Description

prefix-table

Prefix management table of users.

Prefix

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

Prefix Length

Prefix length. The value is an integer that ranges from 1 to 128.

Valid Lifetime(sec)

Valid lifetime of a prefix. The value ranges from 0 to 4294967295, in seconds.

Preferred Lifetime(sec)

Preferred lifetime of a prefix. The value ranges from 0 to 4294967295, in seconds.

Interface

Interface information in a prefix management entry.

VLAN ID(Outer/Inner)

VLAN information in a prefix management entry.

Prefix-Type

Type of a prefix management entry. The value can be:
  • static: The prefix management entry is statically configured.
  • dynamic: The prefix management entry is dynamically generated.

Prefix table total count

Total number of entries in the prefix management table.

Print count

Number of printed entries.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >