Enabling DHCPv6 snooping

To allow clients to obtain IPv6 addresses from an authorized DHCPv6 server, enable DHCPv6 snooping globally and configure trusted and untrusted ports properly. To record DHCPv6 snooping entries for a VLAN, enable DHCPv6 snooping for the VLAN.

Follow these steps to enable DHCPv6 snooping:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable DHCPv6 snooping globally

ipv6 dhcp snooping enable

Required

Disabled by default.

Enter VLAN view

vlan vlan-id

Enable DHCPv6 snooping for the VLAN

ipv6 dhcp snooping vlan enable

Optional

Disabled by default.