Related Topics
Access Control Lists, on page 548
QoS ACL Guidelines, on page 540
Examples: Classifying Traffic by Using ACLs, on page 631
Creating an IPv6 ACL for IPv6 Traffic
Before You Begin
Before you perform this task, determine which access lists you will be using for your QoS configuration.
SUMMARY STEPS
1.
configure terminal
2.
ipv6 access-list access-list-name
3.
{deny | permit} protocol {source-ipv6-prefix/prefix-length | any | host source-ipv6-address} [operator
[port-number]] {destination-ipv6-prefix/ prefix-length | any | host destination-ipv6-address} [operator
[port-number]] [dscp value] [fragments] [log] [log-input] [routing] [sequence value] [time-range name]
4.
end
5.
show ipv6 access-list
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Creates an IPv6 ACL and enters IPv6 access-list configuration mode.
ipv6 access-list access-list-name
Step 2
Example:
Switch(config)# ipv6
Accesses list names cannot contain a space or quotation mark or begin with a
numeric.
To delete an access list, use the no ipv6 access-list access-list-number
global configuration command.
Note
access-list ipv6_Name_ACL
Enters deny or permit to specify whether to deny or permit the packet if conditions
are matched. These are the conditions:
{deny | permit} protocol
{source-ipv6-prefix/prefix-length | any
Step 3
| host source-ipv6-address} [operator
For protocol, enter the name or number of an Internet protocol: ahp, esp, icmp,
ipv6, pcp, stcp, tcp, or udp, or an integer in the range 0 to 255 representing an
IPv6 protocol number.
[port-number]] {destination-ipv6-prefix/
prefix-length | any | host
destination-ipv6-address} [operator
•
The source-ipv6-prefix/prefix-length or destination-ipv6-prefix/ prefix-length
is the source or destination IPv6 network or class of networks for which to
[port-number]] [dscp value] [fragments]
[log] [log-input] [routing] [sequence
value] [time-range name]
set deny or permit conditions, specified in hexadecimal and using 16-bit
values between colons (see RFC 2373).
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
588
How to Configure QoS