Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPv6 RA Guard

Direct answer

IPv6 RA Guard filters Router Advertisements on access ports so only legitimate routers can announce prefixes and default gateways, preventing rogue-router attacks.

When to use this

Use it when hosts receive a wrong prefix or default router, or when protecting IPv6 access VLANs from rogue RAs.

First 30 seconds

1. RA Guard blocks rogue router advertisements on access ports.

2. Attach with device-role host.

3. Trusted router ports.

4. Prevents MITM via RAs.

5. Check drops after attaching.

Operational verification

RA on host port → RA Guard → drop

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
RA Guard pitfalls
  • Policy attached to router-facing uplinks, blocking real RAs.
  • Fragmented RAs or extension headers bypassing older implementations — update software.
  • Wireless and virtual switches not covered (enable RA filtering on WLC and hypervisor switches too).
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandshow ipv6 nd raguard policy
Scope / prerequisiteUse it when hosts receive a wrong prefix or default router, or when protecting IPv6 access VLANs from rogue RAs.
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification & troubleshooting Narrow the fault

1. Verify policy content/device role.

2. Verify attachment and direction on each access/trunk boundary.

3. Send a controlled rogue RA and confirm drops.

4. Confirm legitimate RAs pass.

5. Verify host default route/prefix stability.

Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show ipv6 nd raguard policy — policies
  • show ipv6 snooping counters — RA drops
ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to prevent rogue or accidental IPv6 routers from changing host prefixes, flags or default-router selection.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

RA Guard drops IPv6 Router Advertisements from ports that should not send them

A rogue Router Advertisement (RA) can make every host on a VLAN use an attacker or a misconfigured device as its default gateway. RA Guard filters RAs on the switch. The Catalyst 9300 guide states that in host mode, all RA and router redirect messages are disallowed on the port.

C9300(config)# ipv6 nd raguard policy HOSTS
C9300(config-nd-raguard)# device-role host
C9300(config)# ipv6 nd raguard policy ROUTERS
C9300(config-nd-raguard)# device-role router
C9300(config-nd-raguard)# hop-limit minimum 64
C9300(config-nd-raguard)# match ra prefix-list ALLOWED-PREFIXES
C9300(config-nd-raguard)# router-preference maximum medium
C9300(config)# vlan configuration 10,20
C9300(config-vlan-config)# ipv6 nd raguard attach-policy HOSTS
C9300(config)# interface Te1/1/1
C9300(config-if)# ipv6 nd raguard attach-policy ROUTERS
C9300# show ipv6 nd raguard policy ROUTERS

Policy options (documented)

OptionEffect
device-role host \| router \| monitor \| switchRole of the attached device; default host
hop-limit minimum/maximumReject RAs outside the expected hop limit
managed-config-flag / other-config-flagEnforce the expected DHCPv6 flags
router-preference maximumCap the preference an RA may announce
match ra prefix-list / match ipv6 access-listAllow only expected prefixes or sources
trusted-portNo further checks on that port

Related FHS features

The guide lists RA Guard among the IPv6 First Hop Security features, with IPv6 snooping, ND inspection, DHCPv6 Guard, Source Guard and others. DHCPv6 Guard (ipv6 dhcp guard policy, device-role client|server) does the same job for rogue DHCPv6 servers.

Limits to remember

  • RA Guard only helps on switches where hosts connect. RAs arriving through tunnels or unmanaged switches bypass it.
  • Hosts may still auto-configure from RAs that pass the router port. Validate RA content there with hop-limit and prefix matches, not only the port role.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

IPv6 RA Guard blocks Router Advertisements from ports where no router should exist, preventing rogue routers (malicious or misconfigured) from becoming default gateways or handing out prefixes.

ipv6 nd raguard policy HOSTS
 device-role host
ipv6 nd raguard policy UPLINK
 device-role router
interface range Gi1/0/1 - 46
 ipv6 nd raguard attach-policy HOSTS
interface Te1/1/1
 ipv6 nd raguard attach-policy UPLINK

RA Guard can be bypassed with extension-header tricks on old implementations; combine with ND inspection/SAVI and block fragmented RAs (RFC 7113).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Configuration

ipv6 nd raguard policy HOSTS
 device-role host
interface range GigabitEthernet1/0/1 - 46
 ipv6 nd raguard attach-policy HOSTS

Documented example, not captured output. Uplinks to real routers get a policy with device-role router (or no policy). Check drops with show ipv6 nd raguard policy HOSTS and the device-tracking counters. Some RA Guard implementations can be bypassed with extension headers; newer releases block fragmented RAs.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in Security → First Hop Security / IPv6 RA Guard → IPv6 RA Guard. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Confirmation

Confirm action

Continue?