![H3C SR8800-F Скачать руководство пользователя страница 226](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863226.webp)
210
Figure 66 Network diagram
Procedure
# Enable DHCPv6 snooping.
<SwitchB> system-view
[SwitchB] ipv6 dhcp snooping enable
# Specify GigabitEthernet 1/0/1 as a trusted port.
[SwitchB] interface gigabitethernet 1/0/1
[SwitchB-GigabitEthernet1/0/1] ipv6 dhcp snooping trust
[SwitchB-GigabitEthernet1/0/1] quit
# Enable the recording of DHCPv6 snooping entries on GigabitEthernet 1/0/2.
[SwitchB]interface gigabitethernet 1/0/2
[SwitchB-GigabitEthernet1/0/2] ipv6 dhcp snooping binding record
[SwitchB-GigabitEthernet1/0/2] quit
Verifying the configuration
# Verify that the DHCPv6 client obtains an IPv6 address and all other configuration parameters only
from the authorized DHCPv6 server. (Details not shown.)
# Display DHCPv6 snooping entries on the DHCPv6 snooping device.
[SwitchB] display ipv6 dhcp snooping binding