display ipv6 nd snooping
Use display ipv6 nd snooping to display IPv6 ND snooping entries.
Syntax
display ipv6 nd snooping [ [ [ vlan vlan-id | interface interface-type interface-number ] [ global | link-local ] ] | ipv6-address ] [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
vlan vlan-id: Displays ND snooping entries for the specified VLAN. The value range for the VLAN ID is 1 to 4094.
interface interface-type interface-number: Displays ND snooping entries for the specified interface. The interface-type interface-number argument specifies an interface by its type and number.
ipv6-address: Displays the ND snooping entry for the specified IPv6 address.
global: Displays ND snooping entries for global unicast addresses.
link-local: Displays ND snooping entries for link-local addresses.
verbose: Displays detailed information about ND snooping entries. If you do not specify the keyword, this command displays brief information about ND snooping entries.
Examples
# Display IPv6 ND snooping entries for VLAN 1.
<Sysname> display ipv6 nd snooping vlan 1 IPv6 address MAC address VID Interface Status Age 1::2 0000-1234-0c01 1 XGE1/0/2 VALID 57
# Display detailed information about IPv6 ND snooping entries for VLAN 1.
<Sysname> display ipv6 nd snooping vlan 1 verbose IPv6 address: 1::2 MAC address: 0000-1234-0c01 Interface: First VLAN ID: 1 Second VLAN ID: N/A Status: VALID Age: 57
Table 47: Command output
Filed | Description |
---|---|
IPv6 address | IPv6 address in the ND snooping entry. |
MAC address | MAC address in the ND snooping entry. |
VID | ID of the VLAN to which the ND snooping entry belongs. |
First VLAN ID | ID of the SVLAN to which the ND snooping entry belongs. |
Second VLAN ID | ID of the CVLAN to which the ND snooping entry belongs. If no CVLAN is configured, this field displays N/A. For more information about the SVLAN and CVLAN, see Layer 2—LAN Switching Configuration Guide. |
Interface | Input interface in the ND snooping entry. |
Status | Status of the ND snooping entry:
|
Age | For an ND snooping entry in VALID status, this field displays its remaining aging time in seconds. For an ND snooping entry in other status, this field displays a pound sign (#). |