display dhcpv6 snooping user-bind
Format
display dhcpv6 snooping user-bind { { interface interface-type interface-number | ipv6-address ipv6-address | mac-address mac-address | vlan vlan-id } * | confirm-client | all } [ verbose ]
Parameters
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. |
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. |
- |
Usage Guidelines
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.
Example
# Display the DHCPv6 binding table.
Display all the dynamic binding entries.
<AC6605> 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.
<AC6605> display dhcpv6 snooping user-bind all verbose DHCPV6 Dynamic Bind-table: Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping -------------------------------------------------------------------------------- IP Address : FC00:2::22 MAC Address : 4a8c-ccdb-0000 VSI : -- VLAN(O/I/P) : 10 /-- /-- Interface : GE0/0/1 Renew time : 2016.03.04-13:49 Expire time : 2016.03.04-13:51 DadTimerId : -- DadPktNum : -- User State : BOUND -------------------------------------------------------------------------------- Print count: 1 Total count: 1
Item |
Description |
---|---|
DHCPV6 Dynamic Bind-table |
DHCPv6 Snooping dynamic binding table. |
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping |
VLAN ID.
|
IP Address |
User IPv6 address. |
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. |
Renew time |
Entry update time. |
Expire time |
Entry expiration time. |
DadTimerId |
Client probing timer ID. |
DadPktNum |
Remaining number of times a DAD NS packet can be transmitted. |
User State |
Status of a DHCPv6 snooping binding entry is as follows:
|