IPv6 ACL
Cheat sheet · https://pcornel.dk/topic.php?topic=762
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.
Remember
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.
First 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.
Commands
ipv6 access-list <name>- Create a named IPv6 ACL.
permit ipv6 <source> <destination>- Add a permit entry to an IPv6 ACL.
deny ipv6 <source> <destination>- Add a deny entry to an IPv6 ACL.
ipv6 traffic-filter <name> in- Apply an IPv6 ACL to inbound traffic on an interface.
ipv6 traffic-filter <name> out- Apply an IPv6 ACL to outbound traffic on an interface.
show ipv6 access-listip access-groupshow ipv6 access-list <name>show ipv6 interface <interface>show ipv6 route <destination>show ipv6 neighbors
Verify in this order
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
Where it usually breaks
wrong enforcement point → shadowed or mismatched ACE → control-traffic denial → forwarding/downstream policy → remote service/return path
IPv6 ACL · technical reference
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=762