Networking · Security › First Hop Security / IPv6 RA Guard
Policy Attachment
Cheat sheet · https://pcornel.dk/topic.php?topic=2628
Answer
An RA Guard policy only takes effect when attached where hosts connect (ipv6 nd raguard attach-policy <name> on the access interface or VLAN); router uplinks must use a router-role policy.
Remember
- Trust only router-facing ports; host-facing ports should not originate valid RAs
- Define policy and attachment separately
- Extension headers and fragmented ND handling depend on platform capability
- RA Guard complements DHCPv6 Guard, ND inspection and source binding; it does not replace them.
First checks
show ipv6 snooping policies— where policies attachshow running-config interface <interface>— ipv6 nd raguard attach-policy
Commands
show ipv6 nd raguard policy <name>
Verify in this order
policy defined → attached to port/VLAN → enforced
Where it usually breaks
packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2628