Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

First Hop Security / IPv6 RA Guard

Direct answer

IPv6 First Hop Security protects the link-local IPv6 control plane on access switches. RA Guard drops router advertisements from ports where no router should be, so a rogue or misconfigured device cannot become hosts' default router or hand out prefixes.

When to use this

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

First 30 seconds

RA source port → RA Guard policy → permit/drop counters → host RA processing → SLAAC/default-router state

Operational verification

host-facing ports carry an RA Guard policy (device-role host) → RA arrives on such a port → dropped, counter increases → RA from the router-facing port passes → hosts keep the legitimate default router

Evidence · next step

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.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
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 · IOS/IOS XE
Scope / prerequisiteUse it to prevent rogue or accidental IPv6 routers from changing host prefixes, flags or default-router selection.
What next?3 suggested next steps
Child topics (this level)6
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

4 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 Layered verification Verify boundary

Inspect RA/ND and address lifetime/source choice, route/FIB next hop and neighbor state, then test the original IPv6 destination and return path.

Step 2 Verification path Verify boundary

Primary bounded procedure: Use show ipv6 interface brief, then inspect ND/route state for the exact next hop and verify the IPv6 path.

Step 3 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.

IPv6 operation separates link-local formation, Router/Neighbor Discovery, prefix/default-router learning, optional SLAAC/DHCPv6 parameters, neighbor reachability and route/FIB programming. A global address can exist while the default route, ND cache, source selection or upstream policy is wrong. Close with Inspect RA/ND and address lifetime/source choice, route/FIB next hop and neighbor state, then test the original IPv6 destination and return path. and state what the evidence does not show.

Step 4 Branching troubleshooting Narrow the fault

Concrete boundaries: link/interface → RA/ND reachability → address/prefix/source selection → neighbor cache → route selection → FIB adjacency → policy/security → original IPv6 flow.

Evidence references

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.

command output · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Create a policy with ipv6 nd raguard policy <name> and device-role host, attach it to host ports (ipv6 nd raguard attach-policy <name>), and give the uplink towards the real router role router (or no policy). Some RAs hidden in fragmented or extension-header packets can bypass older implementations (RFC 7113) — combine with DHCPv6 Guard and ND inspection, and check platform support.

Key checks
  • show ipv6 nd raguard policy <name> — device role and the ports it is attached to.
  • show ipv6 snooping features — First Hop Security features active per port.
  • show ipv6 snooping counters interface <if> — RAs and other ND messages dropped (name varies by release).
  • show ipv6 routers (on a router) or the host's default router list — only the legitimate router.
ReferenceWhat it is3 sections · depth on demand

What it is

IPv6 RA Guard enforces which access-layer ports and message attributes may supply Router Advertisements.

ReferenceHow it works1 section · depth on demand

How it works

First Hop Security / IPv6 RA Guard — internals that matter during failure. How it works: IPv6 operation separates link-local formation, Router/Neighbor Discovery, prefix/default-router learning, optional SLAAC/DHCPv6 parameters, neighbor reachability and route/FIB programming. A global address can exist while the default route, ND cache, source selection or upstream policy is wrong.

ReferenceImportant terms & boundaries5 sections · depth on demand

Key operational limits

  • 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.

Proof Boundaries

RA policy presence is not proof that every malformed or fragmented RA is rejected by this hardware/release. Review the exact Cisco support restrictions and RFC 7113; preserve packet/device Evidence as a separate activity.

In depth

IPv6 first-hop security: RA Guard and related features

On a LAN, any host can send router advertisements or DHCPv6 replies, and every other host will believe them. The Catalyst 9300 IPv6 first-hop security guide lists the protective features: IPv6 snooping (binding table), ND inspection, RA Guard, DHCPv6 Guard, source guard, prefix guard and destination guard. IPv6 snooping and ND inspection are deprecated in favour of SISF-based device tracking, though the commands still work.

RA Guard (from the guide)

ItemDetail
Policyipv6 nd raguard policy <name>
Device rolehost (default), router, switch, monitor
Router-facing portsNeed a policy with the router role, or legitimate RAs are dropped
FiltersHop limit, M and O flags, router preference, ACL or prefix-list match; each off unless configured
Attachipv6 nd raguard attach-policy <name> on an interface or VLAN
C9300(config)# ipv6 nd raguard policy HOSTS
C9300(config-nd-raguard)# device-role host
C9300(config)# ipv6 nd raguard policy UPLINK
C9300(config-nd-raguard)# device-role router
C9300(config)# ipv6 dhcp guard policy DHCP-CLIENTS
C9300(config-dhcp-guard)# device-role client
C9300(config)# interface range GigabitEthernet1/0/1 - 46
C9300(config-if-range)# ipv6 nd raguard attach-policy HOSTS
C9300(config-if-range)# ipv6 dhcp guard attach-policy DHCP-CLIENTS
C9300(config)# interface TenGigabitEthernet1/1/1
C9300(config-if)# ipv6 nd raguard attach-policy UPLINK
C9300# show ipv6 nd raguard policy HOSTS
Ra guard policy HOSTS configuration:
  device-role host
Policy HOSTS is applied on the following targets:
Target               Type  Policy               Feature        Target range
Gi1/0/1              PORT  HOSTS                RA guard       vlan all

DHCPv6 Guard (from the guide)

The device role is client by default, and replies and advertisements from ports that don't match the role are filtered.

Documented restrictions

RestrictionDetail
SDM templateAn IPv6-enabled template is required
EtherChannelA port with an FHS policy can't join a channel, and members can't get a policy
IPv6 snooping default level guardBlocks RAs and DHCPv6 server packets even on trusted uplinks unless RA Guard or DHCP Guard allows them there
Source guardIngress only, per interface; needs NDP or DHCP snooping, or all traffic from the port is blocked

Rollout

Start with RA Guard and DHCPv6 Guard: they block the two most common problems (rogue routers and rogue DHCPv6 servers) with little risk. Add device tracking and source or destination guard after the binding table proves complete.

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

First Hop Security protects IPv6 on the access layer, where hosts trust Router Advertisements and Neighbor Discovery without authentication. RA Guard drops RAs on ports where no router should be; DHCPv6 Guard blocks rogue DHCPv6 servers; ND Inspection and Source Guard check address bindings.

ipv6 nd raguard policy HOSTS
 device-role host
interface range Gi1/0/1 - 46
 ipv6 nd raguard attach-policy HOSTS
ipv6 dhcp guard policy CLIENTS
 device-role client
show ipv6 nd raguard policy HOSTS

Documented example, not captured output.

RA Guard can be bypassed with IPv6 extension headers on older implementations; combine it with other first-hop security features.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical examples

Configuration & expected output

Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.

Configuration example

Cisco IOS / IOS XERA Guard on access ports

Assumptions: Lab switch; Gi1/0/1–24 are host ports, the uplink to the router is not in the range.

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

Expected output

Cisco IOS / IOS XEshow ipv6 nd raguard policy HOSTS

Expected state: Role host and the list of ports the policy is attached to.

Policy HOSTS configuration:
  device-role host
Policy HOSTS is applied on the following targets:
Target               Type  Policy               Feature        Target range
Gi1/0/1              PORT  HOSTS                RA guard       vlan all
! Illustrative output, not captured Evidence.
`device-role host` means Router Advertisements received on the listed ports are dropped. A host port missing from the target list is unprotected.
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. Documentation verification only; this is not observed lab or production Evidence.

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

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.

Aliases that resolve here
RA GuardIPv6 first hop securityrogue router advertisement
Embedded reference data

Quick lookup tables

First Hop Security / IPv6 RA Guard evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?show ipv6 nd raguard policyremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?RA source port → RA Guard policy → permit/drop counters → host RA processing → SLAAC/default-router stateapplication success
Confirmation

Confirm action

Continue?