Configuration procedure

# Enable SAVI.

<SwitchB> system-view
[SwitchB] ipv6 savi strict

# Enable IPv6.

[SwitchB] ipv6

# Enable DHCPv6 snooping.

[SwitchB] ipv6 dhcp snooping enable

# Assign interfaces Ethernet 1/0/1 through Ethernet 1/0/5 to VLAN 2.

[SwitchB] vlan 2
[SwitchB-vlan2] port ethernet 1/0/1 ethernet 1/0/2 ethernet 1/0/3 ethernet 1/0/4 ethernet 1/0/5

# Enable DHCPv6 snooping in VLAN 2.

[SwitchB-vlan2] ipv6 dhcp snooping vlan enable
[SwitchB] quit

# Configure interface Ethernet 1/0/1 as a DHCPv6 snooping trusted port.

[SwitchB] interface ethernet 1/0/1
[SwitchB-Ethernet1/0/1] ipv6 dhcp snooping trust
[SwitchB-Ethernet1/0/1] quit

# Enable ND snooping and ND detection.

[SwitchB] ipv6 nd snooping enable link-local
[SwitchB] ipv6 nd snooping enable global
[SwitchB] vlan 2
[SwitchB-vlan2] ipv6 nd snooping enable
[SwitchB-vlan2] ipv6 nd detection enable
[SwitchB-vlan2] quit

# Configure interface Ethernet 1/0/2 as an ND detection trusted port.

[SwitchB] interface ethernet 1/0/2
[SwitchB-Ethernet1/0/2] ipv6 nd detection trust
[SwitchB-Ethernet1/0/2] quit

# Configure the dynamic IPv6 source guard binding function on downlink ports Ethernet 1/0/3 through Ethernet 1/0/5.

[SwitchB] interface ethernet 1/0/3
[SwitchB-Ethernet1/0/3] ipv6 verify source ipv6-address mac-address
[SwitchB-Ethernet1/0/3] quit
[SwitchB] interface ethernet 1/0/4
[SwitchB-Ethernet1/0/4] ipv6 verify source ipv6-address mac-address
[SwitchB-Ethernet1/0/4] quit
[SwitchB] interface ethernet 1/0/5
[SwitchB-Ethernet1/0/5] ipv6 verify source ipv6-address mac-address