356
[Switch] ipv6 dhcp snooping enable
# Configure the interface connecting to the DHCP server as a trusted interface.
[Switch] interface ten-gigabitethernet 1/0/2
[Switch-Ten-GigabitEthernet1/0/2] ipv6 dhcp snooping trust
[Switch-Ten-GigabitEthernet1/0/2] quit
2.
Enable IPv6SG:
# Enable IPv6SG on Ten-GigabitEthernet 1/0/1 and verify the source IP address and MAC
address for dynamic IPv6SG.
[Switch] interface ten-gigabitethernet 1/0/1
[Switch-Ten-GigabitEthernet1/0/1] ipv6 verify source ip-address mac-address
# Enable recording of client information in DHCPv6 snooping entries on Ten-GigabitEthernet
1/0/1.
[Switch-Ten-GigabitEthernet1/0/1] ipv6 dhcp snooping binding record
[Switch-Ten-GigabitEthernet1/0/1] quit
Verifying the configuration
# Verify that a dynamic IPv6SG binding is generated based on a DHCPv6 snooping entry.
[Switch] display ipv6 source binding dhcpv6-snooping
Total entries found: 1
IPv6 Address MAC Address Interface VLAN Type
2001::1 040a-0000-0001 XGE1/0/1 1 DHCPv6 snooping