39-48
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 39 Configuring QoS
Configuring Standard QoS
To delete an access list, use the no access-list access-list-number global configuration command.
This example shows how to create an ACL that permits IP traffic from any source to any destination that
has the DSCP value set to 32:
Switch(config)# access-list 100 permit ip any any dscp 32
This example shows how to create an ACL that permits IP traffic from a source host at 10.1.1.1 to a
destination host at 10.1.1.2 with a precedence value of 5:
Switch(config)# access-list 100 permit ip host 10.1.1.1 host 10.1.1.2 precedence 5
This example shows how to create an ACL that permits PIM traffic from any source to a destination
group address of 224.0.0.2 with a DSCP set to 32:
Switch(config)# access-list 102 permit pim any 224.0.0.2 dscp 32
Creating an IPv6 ACL
Note IPv6 ACLs are not supported on switches running the LAN base feature set.
Beginning in privileged EXEC mode, follow these steps to create an IPv6 ACL for IPv6 traffic:
Note Before creating IPv6 ACLs, you must enable a dual ipv4-and-ipv6 SDM template and reload the switch.
Step 3 end Return to privileged EXEC mode.
Step 4 show access-lists Verify your entries.
Step 5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 ipv6 access-list
access-list-name
Create an IPv6 ACL, and enter IPv6 access-list configuration mode.
Access list names cannot contain a space or quotation mark or begin with a numeric.