display ipv6 nd snooping

Syntax

display ipv6 nd snooping [ ipv6-address | vlan vlan-id ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Specifies an IPv6 address.

vlan vlan-id: Displays ND snooping entries in the specified VLAN whose ID ranges from 1 to 4094.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display ipv6 nd snooping to display ND snooping entries.

If no parameter is specified, this command displays all ND snooping entries.

Examples

# Display the ND snooping entries of VLAN 1.

<Sysname> display ipv6 nd snooping vlan 1
IPv6 Address                   MAC Address     VID  Interface      Aging Status
4001::1                        0015-e944-a947  1    Eth1/0/1       25    Bound
 ---- Total entries on VLAN 1: 1 ----

Table 33: Command output

Field

Description

IPv6 Address

IPv6 address of an ND snooping entry.

MAC Address

MAC address of an ND snooping entry.

VID

VLAN ID.

Interface

Receiving port of an ND snooping entry.

Aging

Aging time of an ND snooping entry, in minutes.

Status

ND snooping entry status, Bound or Probe.

Total entries on VLAN 1

Total number of ND snooping entries of VLAN 1.