Use it on access switches to stop a stray or hostile device from becoming the default router for a VLAN, and when hosts lose IPv6 after RA Guard was enabled.
IPv6 RA Guard Evidence
RA Guard is a switch feature that drops IPv6 Router Advertisements arriving on ports where no router should be. Only ports marked as leading to a router may deliver them.
1. show ipv6 nd raguard policy <name> — host role on access ports, router role on the uplink?
2. Hosts lost IPv6 after enabling → the uplink lacks the router role.
3. show ipv6 routers — only the legitimate routers listed?
4. A rogue source remains → its port has no policy, or it sits behind an uninspected device.
host policy on access ports → router policy on ports towards routers → legitimate advertisements pass → advertisements from access ports dropped → hosts keep one valid default router
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ipv6 nd raguard policy HOSTSVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification workflow Verify boundary
show ipv6 nd raguard policy HOSTS
show ipv6 nd raguard policy ROUTERS
show ipv6 snooping policies
show ipv6 routers
The policy commands show each policy's role and the interfaces it is attached to. show ipv6 snooping policies lists all first-hop security policies per port. On a router or Layer 3 switch in the VLAN, show ipv6 routers lists every source of Router Advertisements still being heard — after RA Guard is in place, only the legitimate routers should appear.
From a test host on an access port, confirm that it still receives the real router's advertisement and has a default route.
Known-good: host policy on all access ports, router policy on the ports towards routers, and no unknown advertisement sources in the VLAN.
Step 2 Failure isolation workflow Narrow the fault
- All hosts in a VLAN lose IPv6 connectivity some time after RA Guard was enabled. The uplink has the host role or no router policy; the legitimate advertisements are being dropped and the hosts' router lifetimes expired.
- A rogue router is still effective. Its port has no policy, or it connects through a device that the switch does not inspect — a hub, an access point, an unmanaged switch.
- The legitimate router's advertisements are rejected on a router port. The policy checks flags or prefixes that do not match what the router sends.
- Hosts on one access point affect each other. The traffic never reaches the switch port; use the wireless system's own protection.
- RA Guard is enabled and DHCPv6 still comes from an unknown server. That is a different message; DHCPv6 Guard covers it.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
The uplink towards the real router must have the router role — otherwise the legitimate advertisements are dropped too, and hosts lose their default route gradually as lifetimes expire. It inspects traffic entering switch ports only.
show ipv6 nd raguard policy <name>— the policy's role and the interfaces it is attached to.show ipv6 snooping policies— all first-hop security policies per port.show ipv6 routerson a router in the VLAN — which advertisement sources are still heard.
ReferenceWhat it is1 section · depth on demand
Mental model
RA Guard is a switch feature that drops IPv6 Router Advertisements arriving on ports where no router should be connected. Only ports explicitly marked as leading to a router may deliver them.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
Every IPv6 host believes any Router Advertisement it hears. A single PC with connection sharing turned on, or a deliberately hostile device, can make itself the default router for a whole VLAN — and this works even on networks that officially run only IPv4, since hosts have IPv6 enabled by default. RA Guard is the equivalent of DHCP snooping for this problem.
ReferenceHow it works1 section · depth on demand
How it works
RA Guard is applied per port, with a role that says what is expected there:
ipv6 nd raguard policy HOSTS
device-role host
!
ipv6 nd raguard policy ROUTERS
device-role router
!
interface range GigabitEthernet1/0/1 - 46
ipv6 nd raguard attach-policy HOSTS
!
interface GigabitEthernet1/0/48
description uplink towards the router
ipv6 nd raguard attach-policy ROUTERS
- Host role: Router Advertisements and redirect messages received on the port are dropped. Everything else, including the host's own router solicitations, passes.
- Router role: Router Advertisements are accepted. A router policy can additionally check their content — the managed and other flags, the router preference, the advertised prefixes — and reject those that do not match.
The simple form ipv6 nd raguard on an interface applies the host role.
Points to get right.
- The port towards the real router, and every uplink on the path to it, must have the router role. Otherwise the legitimate advertisements are dropped too and all hosts lose their default route — gradually, as their router lifetimes run out, which makes the cause easy to miss.
- It inspects traffic entering the switch port. It does nothing about a router advertisement that never passes through the switch, for example between two wireless clients on the same access point.
- An attacker can try to hide the advertisement behind extension headers or fragmentation. Current implementations drop such packets, but this is the reason to keep switch software up to date.
- It filters who may act as router. It does not validate ordinary neighbour discovery; that is a separate feature.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
RA Guard: stopping rogue router advertisements
Every IPv6 host believes any Router Advertisement it hears. A misconfigured PC or a malicious device can therefore become the default gateway for a whole VLAN. RFC 6105 describes RA Guard as a lightweight protection in the Layer 2 switch fabric. Stateless RA Guard checks each RA against configuration: the receiving port, the sender's MAC and IP addresses, the advertised prefixes and the router preference. Stateful RA Guard learns legitimate routers during a learning phase and then blocks others.
RA Guard variants (RFC 6105)
| Variant | How it decides |
|---|---|
| Stateless | Port role and configured criteria (addresses, prefixes, preference) |
| Stateful | Learns valid routers (OFF, LEARNING, BLOCKING, FORWARDING states) |
| SEND-based | Verifies cryptographic signatures and router certificates |
Limits (RFC 6105)
| Situation | Protection |
|---|---|
| Hosts connected through a switch that enforces RA Guard | Protected |
| Hubs or other shared media between hosts | Not protected: devices talk directly |
| IPv6 traffic carried in tunnels | Not protected |
Typical Cisco policy
SW1(config)# ipv6 nd raguard policy HOSTS
SW1(config-nd-raguard)# device-role host
SW1(config)# ipv6 nd raguard policy ROUTERS
SW1(config-nd-raguard)# device-role router
SW1(config-nd-raguard)# match ipv6 access-list RA-SOURCES
SW1(config)# interface range GigabitEthernet1/0/1 - 46
SW1(config-if-range)# ipv6 nd raguard attach-policy HOSTS
SW1(config)# interface TenGigabitEthernet1/1/1
SW1(config-if)# ipv6 nd raguard attach-policy ROUTERS
SW1# show ipv6 nd raguard policy HOSTS
SW1# show ipv6 snooping counters interface GigabitEthernet1/0/14 | include RA
Practical points
| Point | Reason |
|---|---|
| Apply a host policy to all access ports | No host should send RAs |
| Router policy only on uplinks towards real routers | Narrow the trust |
| Block IPv6 RAs even where IPv6 isn't deployed | Hosts enable IPv6 by default and accept rogue RAs |
| Combine with DHCPv6 Guard and ND inspection | Complete first-hop security |
Older implementations could be bypassed with RAs hidden behind extension headers or fragments. Current switch software inspects the full header chain. RFC 6105 itself doesn't discuss these evasions, so check what your platform's software does.
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols → IPv6 RA Guard Evidence. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.