enable ip-security ipv6 ra-guardNEW!

enable ip-security ipv6 ra-guard vlan vlan_name ports [ports|all] [violation-action [none | drop-packet {[block-port | block-mac] [permanently | for minutes]}]]

Description

Enables Router Advertisement Guard on specified ports in a VLAN. RA Guard protects against rogue RA messages by monitoring and filtering RA frames based on trusted port designation and violation actions.

Syntax Description

vlan_nameName of the VLAN for which RA Guard is enabled.
portsPort list for RA Guard enforcement.
allSpecifies all ports.
violation-actionAction taken when a rogue RA is detected.
noneLog violation only (no packet drop or port disable).
drop-packetDrop the offending RA packet.
block-portDisable the port where violation occurred.
block-macBlock the source MAC address.
permanentlyMaintain block/disable until manually cleared.
minutesDuration in minutes to block/disable (then auto-recover).

Default

RA Guard is disabled by default. Default violation-action is drop-packet.

Usage Guidelines

Enable RA Guard on VLANs where untrusted devices may attach. Configure violation-actions to drop packets and optionally block offending ports or MAC addresses to prevent rogue RA propagation.

Example

The following example enables RA Guard on VLAN guest for ports 1-10, dropping rogue RAs and blocking the offending port for 30 minutes:

enable ip-security ipv6 ra-guard vlan guest ports 1-10 violation-action drop-packet block-port for 30

History

This command was first available in version 34.1.1.

Platform Availability

All platforms.