Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Policy Attachment

Direct answer

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.

When to use this

Use it when an RA Guard or DHCPv6 Guard policy exists but does not seem to block anything.

First 30 seconds

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.

Operational verification

policy defined → attached to port/VLAN → enforced

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 when an RA Guard or DHCPv6 Guard policy exists but does not seem to block anything.
What next?3 suggested next steps
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.

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

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

observation · 1
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 snooping policies — where policies attach
  • show 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.

TargetCommand
Interface (optionally for specific VLANs on it)ipv6 nd raguard attach-policy <name> [vlan ...] under the interface
EtherChannelUnder interface range Port-channel <n>
VLANs globallyvlan 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 typePolicy
All user and server VLANs (VLAN-wide)device-role host (deny RAs)
Uplinks to routers or the distribution layerdevice-role router with RA content checks
Ports to DHCPv6 servers or relaysDHCPv6 Guard device-role server
Everything elseCovered by the VLAN-wide host policy

Checks after attaching

CheckWhy
show ipv6 nd raguard policy <name>Lists the targets that actually use the policy
A client still gets its expected gateway and prefixThe uplink policy isn't too strict
A test RA from a host port is droppedThe 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.

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

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.

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 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 → Policy Attachment. 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?