display ipv6 dhcp snooping user-binding

Syntax

display ipv6 dhcp snooping user-binding { ipv6-address | dynamic } [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

ipv6-address: Displays DHCPv6 snooping entries of the specified IPv6 address.

dynamic: Displays all DHCPv6 snooping entries.

|: 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 dhcp snooping user-binding to display DHCPv6 snooping entries.

Examples

# Display all DHCPv6 snooping entries.

<Sysname> display ipv6 dhcp snooping user-binding dynamic
IPv6 Address                   MAC Address    Lease      VLAN Interface
============================== ============== ========== ==== ==================
2::1                           00e0-fc00-0006 286        1    GigabitEthernet1/0/1
---   1 DHCPv6 snooping item(s) found   ---

Table 52: Command output

Field

Description

IPv6 Address

IPv6 address in the DHCPv6 snooping entry.

MAC Address

MAC address in the DHCPv6 snooping entry.

Lease

Remaining lease of the DHCPv6 snooping entry, in seconds.

VLAN

VLAN to which the interface belongs.

Interface

Interface through which the DHCPv6 client is connected.