Use it to prevent rogue or accidental IPv6 routers from changing host prefixes, flags or default-router selection.
First Hop Security / IPv6 RA Guard
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.
RA source port → RA Guard policy → permit/drop counters → host RA processing → SLAAC/default-router state
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
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.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & 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 Layered verification Verify boundary
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.
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.
Subtopics
Go one level deeper into this subject.
Policy that permits legitimate router advertisements and blocks rogue sources.
Subtopic Device RoleHost and router roles constrain valid first-hop IPv6 messages.
Subtopic Policy AttachmentRA Guard is effective only when attached to the intended access boundary.
Subtopic DHCPv6 GuardDHCPv6 server messages are constrained to trusted server-facing paths.
Subtopic Neighbor Discovery InspectionValidated ND bindings reduce spoofed neighbor state.
Subtopic VerificationPolicy, attachment, drops and legitimate client behavior are verified separately.
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.
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
Direct Answer
IPv6 First Hop Security protects local-link IPv6 control exchanges. The existing RA Guard, DHCPv6 Guard and neighbor inspection references retain their identities and technical content.
Scope and canonical references
Use Access Layer Security to compare IPv6 first-hop controls with IPv4 DHCP Snooping/DAI, endpoint admission and MACsec. Continue here for IPv6 RA Guard, Device Role, Policy Attachment, DHCPv6 Guard, Neighbor Discovery Inspection and Verification. First Hop Security is separate from HSRP/VRRP first-hop redundancy.
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
Official Sources
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)
| Item | Detail |
|---|---|
| Policy | ipv6 nd raguard policy <name> |
| Device role | host (default), router, switch, monitor |
| Router-facing ports | Need a policy with the router role, or legitimate RAs are dropped |
| Filters | Hop limit, M and O flags, router preference, ACL or prefix-list match; each off unless configured |
| Attach | ipv6 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
| Restriction | Detail |
|---|---|
| SDM template | An IPv6-enabled template is required |
| EtherChannel | A port with an FHS policy can't join a channel, and members can't get a policy |
IPv6 snooping default level guard | Blocks RAs and DHCPv6 server packets even on trusted uplinks unless RA Guard or DHCP Guard allows them there |
| Source guard | Ingress 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.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Configuration & expected output
Concrete examples are shown only when the stored reference contains an actual configuration or output shape for this Topic.
Configuration example
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 HOSTSExpected output
show ipv6 nd raguard policy HOSTSExpected 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.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 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%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.
Quick lookup tables
First Hop Security / IPv6 RA Guard evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | show ipv6 nd raguard policy | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | RA source port → RA Guard policy → permit/drop counters → host RA processing → SLAAC/default-router state | application success |