Use it when an RA Guard or DHCPv6 Guard policy exists but does not seem to block anything.
Policy Attachment
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.
1. FHS policies attach per interface or VLAN.
2. Different policies for host vs uplink ports.
3. Verify attachment.
4. Missing attachment = no protection.
5. Template via automation.
policy defined → attached to port/VLAN → enforced
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 Verification & troubleshooting Narrow the fault
1. Verify policy content/device role.
3. Send a controlled rogue RA and confirm drops.
4. Confirm legitimate RAs pass.
5. Verify host default route/prefix stability.
Step 2 Common mistakes Narrow the fault
- Attaching a host policy to an uplink, blocking the real router's RAs.
- Attaching only to some VLANs and forgetting the rest.
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.
- 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.
show ipv6 snooping policies— where policies attachshow running-config interface <interface>— ipv6 nd raguard attach-policy
ReferenceWhat it is1 section · depth on demand
Attachment points
Policies can be attached per interface (ipv6 nd raguard attach-policy) or per VLAN (vlan configuration 10 → ipv6 nd raguard attach-policy). Interface policies override VLAN policies. A policy that exists but is not attached does nothing: show ipv6 nd raguard policy <name> lists the targets it applies to.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Where a First Hop Security policy is attached decides which traffic it inspects
IPv6 FHS policies (RA Guard, DHCPv6 Guard, IPv6 snooping, ND inspection) are defined once and attached to targets. The Catalyst 9300 guide describes three attachment points.
| Target | Command |
|---|---|
| Interface (optionally for specific VLANs on it) | ipv6 nd raguard attach-policy <name> [vlan ...] under the interface |
| EtherChannel | Under interface range Port-channel <n> |
| VLANs globally | vlan configuration <list>, then ipv6 nd raguard attach-policy <name> |
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)# vlan configuration 10-30
C9300(config-vlan-config)# ipv6 nd raguard attach-policy HOSTS
C9300(config)# interface range Port-channel 1
C9300(config-if-range)# ipv6 nd raguard attach-policy UPLINK
C9300# show ipv6 nd raguard policy UPLINK
Policy UPLINK configuration:
device-role router
Policy UPLINK is applied on the following targets:
Target Type Policy Feature Target range
Po1 PORT UPLINK RA guard vlan all
A practical attachment pattern
| Port type | Policy |
|---|---|
| All user and server VLANs (VLAN-wide) | device-role host (deny RAs) |
| Uplinks to routers or the distribution layer | device-role router with RA content checks |
| Ports to DHCPv6 servers or relays | DHCPv6 Guard device-role server |
| Everything else | Covered by the VLAN-wide host policy |
Checks after attaching
| Check | Why |
|---|---|
show ipv6 nd raguard policy <name> | Lists the targets that actually use the policy |
| A client still gets its expected gateway and prefix | The uplink policy isn't too strict |
| A test RA from a host port is dropped | The host policy works |
When an IPv6 snooping policy is active on an access switch, external RAs and DHCPv6 server messages can be blocked even on trusted uplinks. Attach RA Guard and DHCPv6 Guard policies with the router or server role on those uplinks explicitly.
Documented example, not captured output.
Quick reference
IPv6 First Hop Security features only work where their policies are attached, and where they are attached decides what is protected. Policies can be applied to a whole VLAN or to individual interfaces, with interface policies taking precedence. Ports towards legitimate routers and DHCP servers need policies that allow them, or the protection will block the network's own infrastructure.
First Hop Security policies are attached per interface or VLAN:
ipv6 snooping policy HOSTS-SNOOP
security-level guard
tracking enable
interface range Gi1/0/1 - 46
ipv6 nd raguard attach-policy HOSTS
ipv6 snooping attach-policy HOSTS-SNOOP
ipv6 dhcp guard attach-policy CLIENTS
vlan configuration 20
ipv6 nd raguard attach-policy HOSTS
Interface-level policies override VLAN-level ones. Uplinks towards real routers and DHCPv6 servers need router/server device-role policies, or legitimate RAs and DHCPv6 replies will be dropped.
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 Security → First Hop Security / IPv6 RA Guard → Policy Attachment. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%