Description
Use the display ipv6 dhcp snooping user-binding command to display DHCPv6 snooping entries.
Examples
# Display all DHCPv6 snooping entries.
<Sysname> display ipv6 dhcp snooping user-binding dynamic
IPv6 Address
============================== ============== ========== ==== ==================
2::1
---
1 DHCPv6 snooping item(s) found
Table 52 Output description
Field
IPv6 Address
MAC Address
Lease
VLAN
Interface
ipv6 dhcp snooping enable
Syntax
ipv6 dhcp snooping enable
undo ipv6 dhcp snooping enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the ipv6 dhcp snooping enable command to enable DHCPv6 snooping globally.
Use the undo ipv6 dhcp snooping enable command to disable DHCPv6 snooping globally.
By default, global DHCPv6 snooping is disabled.
After DHCPv6 snooping is enabled in system view, the DHCPv6 snooping device discards DHCPv6 reply
messages received by an untrusted port if any, and does not record these DHCPv6 snooping entries.
Examples
# Enable DHCPv6 snooping globally.
<Sysname> system-view
[Sysname] ipv6 dhcp snooping enable
MAC Address
Lease
00e0-fc00-0006 286
---
Description
IPv6 address in the DHCPv6 snooping entry
MAC address in the DHCPv6 snooping entry
Remaining lease of the DHCPv6 snooping entry, in seconds.
VLAN to which the interface belongs
Interface through which the DHCPv6 client is connected
207
VLAN Interface
1
GigabitEthernet1/0/1