221
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Configure the port to block DHCPv6 requests.
ipv6 dhcp snooping deny
By default, the port does not block DHCPv6 requests.
Enabling DHCPv6 snooping logging
About DHCPv6 snooping logging
The DHCPv6 snooping logging feature enables the DHCPv6 snooping device to generate DHCPv6
snooping logs and send them to the information center. The information helps administrators locate
and solve problems. For information about the log destination and output rule configuration in the
information center, see Network Management and Monitoring Configuration Guide.
Restrictions and guidelines
As a best practice, disable this feature if the log generation affects the device performance.
Procedure
1. Enter system view.
system-view
2. Enable DHCPv6 snooping logging.
ipv6 dhcp snooping log enable
By default, DHCPv6 snooping logging is disabled.
Display and maintenance commands for DHCPv6
snooping
Execute display commands in any view, and reset commands in user view.
Task Command
Display DHCPv6 snooping entries.
display ipv6 dhcp snooping
binding
[
address
ipv6-address
[
vlan
vlan-id ]
]
Display information about the file that stores DHCPv6
snooping entries.
display ipv6 dhcp snooping
binding database
Display DHCPv6 packet statistics for DHCPv6
snooping.
isplay ipv6 dhcp snooping packet
statistics
[
slot
slot-number
]
Display information about trusted ports.
display ipv6 dhcp snooping trust
Clear DHCPv6 snooping entries.
reset ipv6 dhcp snooping binding
{
all
|
address
ipv6-address
[
vlan
vlan-id
]
}