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.
| configure | Enters configuration mode. |
| trusted-ports | Designates ports as trusted for RA transmission. |
| ipv6 | Applies RA Guard trust configuration to IPv6 traffic. |
| ports | Port list (e.g., 1-5, 10:2, 12:1-3). |
| all | Applies to all ports on the switch. |
| trust-for | Specifies the feature for which ports are trusted. |
| router | Trust for Router Advertisement Guard. |
All ports are untrusted for RA transmission by default.
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.
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
This command was first available in version 34.1.1.
All platforms.