enable ip-security ipv6 dhcp-snoopingNEW!

enable ip-security ipv6 dhcp-snooping { vlan} vlan_name ports [ports|all] [violation-action [none | drop-packet | {[block-port | block-mack] {permanently | durhation duration_in_seconds]}]

Description

Enables DHCPv6 Snooping on specified ports in a VLAN. DHCPv6 Snooping monitors and restricts DHCPv6 traffic to prevent rogue DHCPv6 servers and defend against DHCPv6-based attacks.

Syntax Description

vlan_nameName of the VLAN for which DHCPv6 Snooping is enabled.
portsPort list for DHCPv6 Snooping enforcement.
allSpecifies all ports.
violation-actionAction taken when non-authorized DHCPv6 traffic is detected.
drop-packetDrop offending DHCPv6 packets (default).
block-portDisable the port where violation occurred.
block-macDisable the MAC address where the violation occurred.
permanentlySpecifies to permanently block he port.
durationSpecifies the duration.
duration_in_secondsSpecifies the duration in seconds.

Default

DHCPv6 Snooping is disabled by default. Default violation-action is drop-packet.

Usage Guidelines

Enable DHCPv6 Snooping on access VLANs to restrict DHCPv6 server responses to authorized DHCPv6 servers. Optionally configure trusted ports via DHCP bindings for granular control.

Example

The following example enables DHCPv6 Snooping on VLAN corp for all ports, dropping rogue DHCPv6 packets:

enable ip-security ipv6 dhcp-snooping vlan corp ports all violation-action drop-packet

History

This command was first available in version 34.1.1.

Platform Availability

All platforms.