209
Display and maintenance commands for DHCPv6
snooping
Execute
display
commands in any view, and
reset
commands in user view.
Task Command
Display information about trusted ports.
display ipv6 dhcp snooping trust
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
(In standalone mode.) Display DHCPv6 packet
statistics for DHCPv6 snooping.
display ipv6 dhcp snooping packet statistics
[
slot slot-number
]
(In IRF mode.) Display DHCPv6 packet statistics for
DHCPv6 snooping.
display ipv6 dhcp snooping packet statistics
[
chassis
chassis-number
slot slot-number
]
Clear DHCPv6 snooping entries.
reset ipv6 dhcp snooping binding
{
all
|
address
ipv6-address
[
vlan vlan-id
] }
(In standalone mode.) Clear DHCPv6 packet statistics
for DHCPv6 snooping.
reset ipv6 dhcp snooping packet statistics
[
slot slot-number
]
(In IRF mode.) Clear DHCPv6 packet statistics for
DHCPv6 snooping.
reset ipv6 dhcp snooping packet statistics
[
chassis chassis-number
slot
slot-number
]
Example: Configuring DHCPv6 snooping
Network configuration
As shown in
, Switch B is connected to the authorized DHCPv6 server through
GigabitEthernet 1/0/1, to the unauthorized DHCPv6 server through GigabitEthernet 1/0/3, and to the
DHCPv6 client through GigabitEthernet 1/0/2.
Configure only the port connected to the authorized DHCPv6 server to forward the responses from
the DHCPv6 server. Enable the DHCPv6 snooping device to record client information in DHCPv6
snooping entries.