Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPv6 ACL

Direct answer

An IPv6 ACL (ipv6 access-list <name>) filters IPv6 traffic with permit and deny entries, applied with ipv6 traffic-filter <name> in|out. IPv6 ACLs are always named and use prefix lengths instead of wildcards.

When to use this

Use it to filter IPv6 traffic on interfaces, or ipv6 access-class on VTY lines.

First 30 seconds

1. show ipv6 access-list <name> — entries and counters.

2. show ipv6 interface <if> | include filter — applied, which direction?

3. Neighbours lost after the change → ND permits missing before an explicit deny.

4. Router advertisements needed? Permit them if hosts use SLAAC.

5. Test and read the counters.

Operational verification

ACL applied on the right interface and direction → packet compared top-down → first matching entry decides → no match = implicit deny → counter increments on the matching entry

Evidence · next step

Confirm traffic-filter direction and required ICMPv6/ND behavior, then retest.

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 · Cisco IOS / IOS XE
Key commandipv6 access-list <name>
Scope / prerequisiteUse it to filter IPv6 traffic on interfaces, or ipv6 access-class on VTY lines.
Reference · 5
What next?3 suggested next steps
Catalog command links5
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

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

6 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 First 30 seconds Verify boundary

Immediate answer: Normalize the exact IPv6 five-tuple and verify ACL attachment/direction plus first matching ACE and counters.

Verification chain: IPv6 flow → interface/direction → IPv6 ACL sequence → ACE match → permit/deny → downstream/return path

Stop condition: An IPv6 ACL entry does not show it is attached in the failing direction or that Neighbor Discovery and routing are healthy.

Step 2 IPv6 ACL: bounded permit/deny test and rollback Verify boundary

Use an isolated lab or an approved narrowly scoped test. Example intent: client 2001:db8:20::10 may reach server 2001:db8:30::20 on TCP/443 but not TCP/22. These are documentation addresses, not a ready-to-paste policy.

Record matching entries/counters and attachment before the test. Verify the permitted service actually responds; then test the deliberately denied TCP/22 flow and correlate the expected deny match at the selected interface. A failed connection alone could instead mean no listener or no route. Check return traffic, ND and required ICMPv6 independently, including PMTUD where relevant. Implicit ND handling is release/feature dependent and must not substitute for reviewing the effective control-traffic policy.

Success requires the allowed application flow, explained rejection of the selected denied flow and continued operation of required control traffic and management access. An ACE's presence, parser acceptance or a nonzero historical counter does not establish that outcome.

For a policy change, restore the exact saved ACE sequence and interface binding if the test fails; recheck intended and adjacent unaffected flows. Examples and expected results are authored; no packet capture, lab execution or verification timestamp is created.

Step 3 Verification and output interpretation Verify boundary

Verify ACL attachment/direction, ACE order and counters, then inspect IPv6 neighbor/router discovery state and routing independently. If an application flow is permitted but fails, check ND and PMTUD/control ICMPv6 before concluding the transport service is at fault. Counter evidence should be interpreted with the exact IPv6 tuple and next-header value at the enforcement point.

Step 4 Step-by-step troubleshooting Narrow the fault

Boundary rule: An IPv6 ACL entry does not show it is attached in the failing direction or that Neighbor Discovery and routing are healthy.

Step 5 IPv6 ACL: ordered matching, ND and PMTUD branches Narrow the fault

1. Wrong or missing attachment: compare ACL name, interface and direction with where the test packet actually enters/leaves. The presence of an ACL definition does not establish enforcement.

2. Unexpected deny: evaluate entries top-down against the actual source/destination, next-header/protocol and ports. Earlier broad matches can shadow later permits. Inspect the effective ACL on the deployed release, including implicit behavior; do not assume IPv4 wildcard-mask syntax applies.

3. Application permit matches but flow fails: inspect show ipv6 route <destination> and show ipv6 neighbors, downstream filters, remote listener and return path. Required Neighbor Discovery and error signaling must work independently of a TCP/443 permit.

4. Small transfers work but larger ones stall: investigate Path MTU Discovery and ICMPv6 Packet Too Big delivery along the path. This symptom is a hypothesis, not evidence of an ACL fault.

5. Counter does not move: first verify the packet reaches this enforcement point and whether hardware-offloaded counters are exposed or delayed on this platform. Do not clear counters merely to conceal unrelated traffic.

If policy must change, preserve current ACE order and attachment, management reachability and the exact rollback. Do not paste a broad permit-all as a diagnostic shortcut.

Step 6 Verification & troubleshooting Narrow the fault

1. Define the exact IPv6 source/destination/protocol/service.

2. Review ACE order.

3. Verify ipv6 traffic-filter attachment and direction.

4. Check show ipv6 access-list and counters for a controlled test.

5. If IPv6 breaks broadly, verify Neighbor Discovery/ICMPv6 and routing before assuming the application policy is the only issue.

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
Key points

Each IPv6 ACL has implicit permit icmp any any nd-na and permit icmp any any nd-ns before the final deny ipv6 any any, so neighbour discovery works. An explicit deny ipv6 any any log at the end removes those implicit permits — add them back explicitly.

Key checks
  • show access-lists <name> — entries in order with match counters.
  • show ip interface <if> | include access list — ACLs applied inbound and outbound.
  • show running-config | section access-list — the ACL as configured.
  • show ipv6 access-list <name> — IPv6 ACL entries and counters.
  • clear access-list counters <name> — reset counters before a test.
ReferenceWhat it is1 section · depth on demand

What it is

An IPv6 ACL applies ordered permit/deny policy to IPv6 traffic. Cisco IOS / IOS XE named IPv6 ACLs are created with ipv6 access-list <name> and can be attached to an interface with ipv6 traffic-filter <name> in|out.

ReferenceWhy it matters1 section · depth on demand

Why it matters

Use IPv6 ACLs when IPv6 traffic requires explicit policy by source/destination and protocol/service. Evaluate IPv6 control traffic deliberately so required Neighbor Discovery and routing/control-plane behavior are not broken by an overbroad policy.

ReferenceHow it works1 section · depth on demand

IPv6 ACL: separate configuration from observation

Scope: Cisco IOS / IOS XE interface IPv6 ACLs; hardware counters and implicit entries vary by platform/release. Record the IPv6 flow, protocol/ports, ingress/egress interface and direction.

deny ipv6 <source> <destination> is an ACE configuration statement inside an IPv6 ACL. It changes filtering policy when the ACL is applied; it is not a read-only diagnostic and exposes no observed packet fields.

Read show ipv6 access-list <name> for ordered entries and available match counters. Read show ipv6 interface <interface> for inbound/outbound ACL attachment, and inspect the relevant running configuration. Definition, attachment and traffic match are three different observations. Compare counter deltas during one bounded flow; historical counts or platform-dependent zero counters are insufficient alone.

Reference: Cisco IOS XE 17.10 Catalyst 9200 IPv6 ACL guide. Confirm applicability on the actual device; this is authored guidance, not a platform verification.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

IPv6 access control lists

The Catalyst 9300 IPv6 ACL guide states that IPv6 supports only named ACLs, and that every IPv6 ACL ends with an implicit deny. They are applied to Layer 3 interfaces with ipv6 traffic-filter <name> {in | out}.

C9300(config)# ipv6 access-list V6-USERS-IN
C9300(config-ipv6-acl)# sequence 10 permit icmp any any nd-ns
C9300(config-ipv6-acl)# sequence 20 permit icmp any any nd-na
C9300(config-ipv6-acl)# sequence 30 permit icmp any any router-solicitation
C9300(config-ipv6-acl)# sequence 40 permit udp any eq 546 any eq 547
C9300(config-ipv6-acl)# sequence 50 permit tcp any 2001:db8:50::/64 eq 443
C9300(config-ipv6-acl)# sequence 60 deny ipv6 any 2001:db8::/48 log
C9300(config-ipv6-acl)# sequence 70 permit ipv6 any any
C9300(config)# interface Vlan20
C9300(config-if)# ipv6 traffic-filter V6-USERS-IN in
C9300# show ipv6 access-list V6-USERS-IN
IPv6 access list V6-USERS-IN
    permit icmp any any nd-ns (2211 matches) sequence 10
    permit icmp any any nd-na (2180 matches) sequence 20

Neighbor Discovery must be permitted

The guide doesn't describe an implicit ND permit; its default ACL example has explicit permit icmp any any nd-ns and nd-na entries. Write them into every IPv6 ACL that ends with a deny. Without them, hosts can't resolve their neighbours, and IPv6 on the link stops working.

Documented differences and restrictions

TopicDetail
NamingNamed only; no numbered IPv6 ACLs
Interface commandipv6 traffic-filter (not ip access-group)
Port ACLsLayer 2 interfaces; the guide is inconsistent on direction
VLAN mapsvlan access-map with match ipv6 address
Unsupported matchesFlow label, routing header, undetermined transport
Not supportedReflexive ACLs; MAC ACLs don't filter IPv6 frames
LoggingRouter ACLs on Layer 3 interfaces only

ICMPv6 needs more than ND

ICMPv6 typeWhy permit it
Packet Too BigPath MTU discovery; IPv6 routers don't fragment
Echo request/replyTroubleshooting
Router solicitation/advertisementAddress autoconfiguration
Time exceeded, parameter problemError reporting, traceroute

Blocking all ICMPv6, as some IPv4 policies block ICMP, breaks IPv6.

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 ACLs are always named and extended-style, and are applied with ipv6 traffic-filter. Each IPv6 ACL has implicit rules permitting Neighbor Discovery (NS/NA) before the final implicit deny, so ND keeps working.

ipv6 access-list V6-USERS-IN
 permit tcp 2001:db8:20::/64 host 2001:db8:100::25 eq 443
 permit icmp any any nd-ns
 permit icmp any any nd-na
 deny ipv6 any any log
interface Vlan20
 ipv6 traffic-filter V6-USERS-IN in

Documented example, not captured output.

An explicit deny ipv6 any any at the end overrides the implicit ND permits, so add ND permits above it.

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

State model and technical mechanics

IPv6 ACLs use IPv6 prefixes/addresses rather than IPv4 wildcard masks and can classify upper-layer protocols/ports. A critical difference in operational design is the role of ICMPv6: Neighbor Discovery, error signaling and Path MTU Discovery rely on ICMPv6 messages that should not be treated as optional generic ping traffic. Overly broad ICMPv6 denial can break address resolution, router discovery or PMTUD even when higher-layer permits look correct. An ACL is an ordered packet-classification policy.

Limits and common misconceptions

IPv6 ACL filtering is not a substitute for understanding IPv6 control-plane requirements. Permitting TCP/443 while blocking necessary Neighbor Discovery can still make the host unreachable. Conversely, allowing ICMPv6 does not grant arbitrary application traffic. Separate neighbor discovery, routing, ACL policy and upper-layer service as distinct evidence layers.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Define IPv6 traffic intent by prefix, next-header/protocol and service. Explicitly account for required ICMPv6 control traffic relevant to the segment and platform behavior, and document why it is permitted. Apply the ACL at a topology point where the IPv6 source/destination context is expected. Keep IPv4 and IPv6 policy aligned conceptually but do not copy IPv4 ACL logic blindly because address semantics and control protocols differ. Design ACLs from explicit traffic intent.

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 → ACL → IPv6 ACL. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Embedded reference data

Quick lookup tables

IPv6 ACL · technical reference

Compact network access/security mechanics, policy and evidence boundaries for fast lookup.

IPv6 policy itemWhy it matters
Prefix matchSource/destination scope
Next header / portService classification
ICMPv6ND/errors/PMTUD dependencies
AttachmentActual enforcement location
Confirmation

Confirm action

Continue?