207
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 MAC Address Lease VLAN Interface
============================== ============== ========== ==== ==================
2::1 00e0-fc00-0006 286 1 GigabitEthernet1/0/1
--- 1 DHCPv6 snooping item(s) found ---
Table 52
Output description
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
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