display dhcpv6 snooping user-bind { { interface interface-type interface-number | ipv6-address { ipv6-address | all } | mac-address mac-address | vlan vlan-id } * | confirm-client | all } [ verbose ]
display dhcpv6 snooping user-bind ipv6-prefix { prefix/prefix-length | all } [ verbose ]
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays the binding entry mapping a specified interface.
|
- |
ipv6-address ipv6-address |
Displays the binding entry mapping a specified IPv6 address. |
The address is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
mac-address mac-address |
Displays the binding entry mapping a specified MAC address. |
The value is in hexadecimal notation. |
vlan vlan-id |
Displays the binding entry mapping a specified VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
ipv6-prefix |
Displays an IPv6 suffix binding entry. |
- |
prefix/prefix-length |
Displays the binding entry mapping a specified IPv6 prefix. |
prefix is a 32-digit hexadecimal number, in the format of X:X::X:X. prefix-length is an integer that ranges from 1 to 128. |
confirm-client |
Displays the DHCPv6 snooping binding entries generated using DHCPv6 Confirm packets. |
- |
all |
Displays all entries in the binding table. |
- |
verbose |
Displays detailed information about the binding table. If the parameter is not specified, brief information about the binding table is displayed. |
- |
After DHCP snooping is enabled, the device generates a DHCP snooping binding table by listening to DHCP Request messages and Reply messages. A binding entry contains the MAC address, IP address, number of the interface connected to the DHCP client, and VLAN ID. You can run the display dhcpv6 snooping user-bind command to view the DHCPv6 snooping binding table.
If prefix delegation (PD) users exist on the network, the device generates an IPv6 prefix binding entry. The display dhcpv6 snooping user-bind ipv6-prefix command displays IPv6 prefix binding entries.
# Display the DHCPv6 binding table.
Display all the dynamic binding entries.
<HUAWEI> display dhcpv6 snooping user-bind all
DHCPV6 Dynamic Bind-table:
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping
IP Address MAC Address VSI/VLAN(O/I/P) Lease
--------------------------------------------------------------------------------
FC00:1::1 00d5-0191-02de 500 /-- /-- 2008.10.01-00:26
--------------------------------------------------------------------------------
print count: 1 total count: 1
Display detailed information about the DHCPv6 binding table.
<HUAWEI> display dhcpv6 snooping user-bind all verbose DHCPV6 Dynamic Bind-table: Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping -------------------------------------------------------------------------------- IP Address : FC00:1::1 MAC Address : 00d5-0191-02de VSI : -- VLAN(O/I/P) : 500 /-- /-- Interface : GE0/0/1 Lease : 2008.10.01-00:27 IPSG Status : ineffective User State : BOUND -------------------------------------------------------------------------------- print count: 1 total count: 1
<HUAWEI> display dhcpv6 snooping user-bind ipv6-prefix all
PD Dynamic Bind-table:
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping
IPv6 Prefix MAC Address VSI/VLAN(O/I/P) Lease
--------------------------------------------------------------------------------
FC00:2::/36 00d5-0191-02de 500 /-- /-- 2008.10.03-00:30
--------------------------------------------------------------------------------
print count: 1 total count: 1
<HUAWEI> display dhcpv6 snooping user-bind ipv6-prefix all verbose PD Dynamic Bind-table: Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping -------------------------------------------------------------------------------- IP Address : FC00:2::/36 MAC Address : 00d5-0191-02de VSI : -- VLAN(O/I/P) : 500 /-- /-- Interface : GE0/0/1 Lease : 2008.10.03-00:30 User State : BOUND -------------------------------------------------------------------------------- print count: 1 total count: 1
Item |
Description |
---|---|
DHCPV6 Dynamic Bind-table |
DHCPv6 Snooping dynamic binding table. |
PD Dynamic Bind-table |
IPv6 prefix binding table. |
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping |
VLAN ID.
|
IP Address |
User IPv6 address. |
IPv6 Prefix |
User IPv6 prefix. |
MAC Address |
User MAC address. |
VSI |
Name of the VPN instance that the online user belongs to. |
VLAN(O/I/P) |
Outer VLAN ID, inner VLAN ID, or VLAN mapping information of the online user. |
Interface |
User access interface. |
Lease |
Time when the lease of the IP address used by the user expires. |
IPSG Status |
Whether the binding table is effective for IP packet checking after IP packet checking is enabled. The value can be:
This field is invalid if IP packet checking is not enabled. |
User State |
Status of a DHCPv6 snooping binding entry is as follows:
|