Configuring An IPv6 Access Control List On The Cisco ASR 903 Router
Configuring An IPv6 Access Control List On The Cisco ASR 903 Router
Note This chapter is not applicable on the Cisco ASR 900 RSP3 Module.
IPv6 Access Control Lists (ACLs) determine what traffic is blocked and what traffic is forwarded at device
interfaces. ACLs allow filtering based on source and destination addresses, inbound and outbound to a
specific interface.
• Restrictions, page 1
• Configuring IPv6 Access Control List, page 2
• Example for Configuration of IPv6 ACL, page 4
• Verifying the Configuration, page 4
Restrictions
The following restrictions apply when configuring IPv6 ACLs:
• ACE-specific counters are not supported.
• Layer 3 IPv4 and IPv6 ACLs are not supported on same EVC.
• MAC ACLs are not supported on EFP or trunk EFP interfaces to which Layer 3 IPv4 or IPv6 ACLs are
applied.
• Up to 1500 unique ACLs are supported per interface or EFP.
• Up to 500 ACEs per ACL or 1500 total ACEs are supported.
• IPv6 ACLs are supported on physical interfaces, bridge-domain interfaces, and port-channel interfaces.
IPv6 ACLs are not currently supported on EFP interfaces.
• IPv6 ACLs are not supported on the interface, if the interface is configured as a switch-port and it has
a BDI configured under one of the EFPs created on the switch-port. The ACL can be applied only on
the BDI in this scenario.
IPv6 Addressing and Basic Connectivity Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series)
1
Configuration of an IPv6 Access Control List
Configuring IPv6 Access Control List
• Source address
• Destination address
• TCP ports
• UDP ports
• DCSP value
SUMMARY STEPS
1. configure terminal
2. ipv6 access-list access-list-name
3. permit protocol {source-ipv6-prefix/prefix-length | any | host source-ipv6-address} [port-number]
{destination-ipv6-prefix/prefix-length | any | host destination-ipv6-address} [port-number] [dscp value]
[log] [log-input] [sequence value]
4. deny protocol {source-ipv6-prefix/prefix-length | any | host source-ipv6-address} [port-number]
{destination-ipv6-prefix/prefix-length | any | host destination-ipv6-address} [port-number] [dscp value]
[log] [log-input] [sequence value]
5. end
DETAILED STEPS
Step 2 ipv6 access-list access-list-name Defines an IPv6 ACL, and enters IPv6
access list configuration mode.
Example:
Device(config)# ipv6 access-list ipv6-acl
Step 3 permit protocol {source-ipv6-prefix/prefix-length | any | host Sets permit conditions for the IPv6 ACL.
source-ipv6-address} [port-number] {destination-ipv6-prefix/prefix-length
| any | host destination-ipv6-address} [port-number] [dscp value] [log]
[log-input] [sequence value]
IPv6 Addressing and Basic Connectivity Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series)
2
Configuration of an IPv6 Access Control List
Applying an IPv6 Access Control List to a Physical Interface
Example:
Device(config-ipv6-acl)# permit icmp any any
Step 4 deny protocol {source-ipv6-prefix/prefix-length | any | host Sets deny conditions for the IPv6 ACL.
source-ipv6-address} [port-number] {destination-ipv6-prefix/prefix-length
| any | host destination-ipv6-address} [port-number] [dscp value] [log]
[log-input] [sequence value]
Example:
Device(config-ipv6-acl)# deny icmp any any
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. ipv6 traffic-filter access-list-name [in | out]
4. end
DETAILED STEPS
Step 2 interface interface-id Specify the port to attach to the policy map, and enter interface
configuration mode. Valid interfaces are physical ports.
Step 3 ipv6 traffic-filter access-list-name [in | out] Defines an IPv6 ACL, and enters IPv6 access list configuration
mode.
Example:
Device(config)# ipv6 traffic-filter
ipv6-acl
IPv6 Addressing and Basic Connectivity Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series)
3
Configuration of an IPv6 Access Control List
Example for Configuration of IPv6 ACL
Building configuration...
IPv6 Addressing and Basic Connectivity Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 900 Series)
4