Use it to filter IPv6 traffic on interfaces, or ipv6 access-class on VTY lines.
IPv6 ACL
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.
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.
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
Confirm traffic-filter direction and required ICMPv6/ND behavior, then retest.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ipv6 access-list <name>Primary Commands
Configuration and operational commands for this Topic.
ipv6 access-list <name>ReferenceCreate a named IPv6 ACL.
Use when: Create or edit an IPv6 ACL.
Quick note: Verify show ipv6 access-list, attachment and counters.
permit ipv6 <source> <destination>ReferenceAdd a permit entry to an IPv6 ACL.
Use when: Permit IPv6 traffic between matched endpoints regardless of upper-layer protocol.
Quick note: Verify first match and downstream service separately.
Cisco IOS / IOS XE · mixeddeny ipv6 <source> <destination>ReferenceAdd a deny entry to an IPv6 ACL.
Use when: Deny IPv6 traffic between matched endpoints.
Quick note: Use counters and packet-path evidence to confirm intended effect.
Cisco IOS / IOS XE · mixedipv6 traffic-filter <name> inReferenceApply an IPv6 ACL to inbound traffic on an interface.
Use when: Apply an IPv6 ACL to packets entering an interface.
Quick note: Verify attachment plus show ipv6 access-list counters.
ipv6 traffic-filter <name> outReferenceApply an IPv6 ACL to outbound traffic on an interface.
Use when: Apply an IPv6 ACL to packets leaving an interface.
Quick note: Verify egress path and counter delta.
Cisco IOS / IOS XE · mixedVerification & 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 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 · 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.
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.
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
| Topic | Detail |
|---|---|
| Naming | Named only; no numbered IPv6 ACLs |
| Interface command | ipv6 traffic-filter (not ip access-group) |
| Port ACLs | Layer 2 interfaces; the guide is inconsistent on direction |
| VLAN maps | vlan access-map with match ipv6 address |
| Unsupported matches | Flow label, routing header, undetermined transport |
| Not supported | Reflexive ACLs; MAC ACLs don't filter IPv6 frames |
| Logging | Router ACLs on Layer 3 interfaces only |
ICMPv6 needs more than ND
| ICMPv6 type | Why permit it |
|---|---|
| Packet Too Big | Path MTU discovery; IPv6 routers don't fragment |
| Echo request/reply | Troubleshooting |
| Router solicitation/advertisement | Address autoconfiguration |
| Time exceeded, parameter problem | Error reporting, traceroute |
Blocking all ICMPv6, as some IPv4 policies block ICMP, breaks IPv6.
Documented example, not captured output.
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.
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
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 → 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%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.
Quick lookup tables
IPv6 ACL · technical reference
Compact network access/security mechanics, policy and evidence boundaries for fast lookup.
| IPv6 policy item | Why it matters |
|---|---|
| Prefix match | Source/destination scope |
| Next header / port | Service classification |
| ICMPv6 | ND/errors/PMTUD dependencies |
| Attachment | Actual enforcement location |