ipv6 dhcp6 snooping vlan
ipv6 dhcp6 snooping
vlan
vlan-id
[
to
vlan-id … ]
no ipv6 dhcp6 snooping
vlan
vlan-id
[
to
vlan-id … ]
DHCPv6 snooping is disabled by default.
Global configuration mode
DHCPv6 snooping must be enabled on the client and the DHCPv6 server VLANs.
When configuring DHCPv6 snooping on a range of VLANs or multi-VLAN, there cannot be any VLAN in the range that is a member of a VLAN group or any reserved VLAN. Otherwise, configurations fail on the entire range.
DHCPv6 Snooping can be configured for a VLAN or VLANS even before the VLAN or VLANS are created. VLANs and DHCPv6 Snooping configurations on the VLANS are not automatically deleted when the VLAN is deleted.
DHCPv6 snooping can be configured on a maximum of 511 VLANs.
DHCPv6 snooping cannot be enabled for a VLAN that is a member of a VLAN group.
The no form of the command
disables DHCPv6 snooping on the VLAN or range of VLANs.
The following example enables DHCPv6 snooping on VLAN 2.
device# configure terminal device(config)# ipv6 dhcp6 snooping vlan 2
The following example configures VLANs 100 through 150, VLAN 160, and VLANs 170 through 200 and enables DHCPv6 snooping on all of the configured VLANs.
device# configure terminal device(config)# vlan 100 to 150 device(config-mvlan-100-150)# tagged ethernet 1/1/12 device(config-mvlan-100-150)# exit device(config)# vlan 150 to 200 device(config-mvlan-150-200)# exit device(config)# ipv6 dhcp6 snooping vlan 100 to 150 160 170 to 200