ipv6 dhcp snooping vlan enable

Syntax

ipv6 dhcp snooping vlan enable

undo ipv6 dhcp snooping vlan enable

View

VLAN view

Default level

2: System level

Parameters

None

Description

Use ipv6 dhcp snooping vlan enable to enable DHCPv6 snooping for a specific VLAN.

Use undo ipv6 dhcp snooping vlan enable to disable DHCPv6 snooping for a specific VLAN.

By default, DHCPv6 snooping is disabled for a VLAN.

After DHCPv6 snooping is enabled globally and then enabled for a VLAN, the DHCPv6 snooping device records DHCPv6 snooping entries according to the DHCPv6 packets received in the VLAN. Meanwhile, upon receiving a DHCPv6 request from a client in the VLAN, the device forwards the packet through trusted ports rather than any untrusted port in the VLAN, thus reducing network traffic.

Examples

# Enable DHCPv6 snooping for VLAN 1.

<Sysname> system-view
[Sysname] vlan 1
[Sysname-vlan1] ipv6 dhcp snooping vlan enable