configure trusted-ports ipv6NEW!

configure trusted-ports {ipv6} [ports | all] trust-for router

Description

Designates ports as trusted for IPv6 Router Advertisement (RA) transmission in RA Guard deployments. Only trusted ports may transmit RAs; untrusted ports have RAs dropped.

Syntax Description

configureEnters configuration mode.
trusted-portsDesignates ports as trusted for RA transmission.
ipv6Applies RA Guard trust configuration to IPv6 traffic.
portsPort list (e.g., 1-5, 10:2, 12:1-3).
allApplies to all ports on the switch.
trust-forSpecifies the feature for which ports are trusted.
routerTrust for Router Advertisement Guard.

Default

All ports are untrusted for RA transmission by default.

Usage Guidelines

Configure ports connected to routers or authorized RA sources as trusted. RA Guard protects hosts from rogue RA messages by dropping RAs on untrusted ports, preventing spoofed prefix advertisements and default gateway hijacking.

Example

The following example designates ports 1-2 and 10:1 as trusted for RA transmission:

configure trusted-ports ipv6 1-2,10:1 trust-for ra-guard

History

This command was first available in version 34.1.1.

Platform Availability

All platforms.