Configuring RA Guard

Syntax:

ipv6 ra-guard ports <port-list> [log]

no ipv6 ra-guard ports <port-list> [log]

Enables or disables RA Guard on the specified ports, which blocks IPv6 RAs and router redirects.

The no form of the command disables RA Guard.

[log]: Enables debug logging of RA and redirects packets to debug output.

Enabling RA Guard

Switch (config)# ipv6 ra-guard ports 6 log