52-56
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
This example shows how to commit an ACL named my_acl:
Console> (enable)
commit qos acl my_acl
Hardware programming in progress...
ACL my_acl is committed to hardware.
Console> (enable)
Note
When you commit an ACL that has already been attached to an interface, the new values go into effect
immediately. The changes to the default ACLs do not need to be committed.
See the
“Configuring and Storing VACLs and QoS ACLs in Flash Memory” section on page 15-64
for
information about where the QoS ACLs are stored.
Attaching an ACL to an Interface
Note
Supervisor Engine 1 with a Layer 2 Switching Engine does not support the commands in this section.
You can do the following:
•
For the ingress traffic, attach one ACL of each type (IP, IPX, MAC Layer) to each VLAN.
•
For the ingress traffic, attach one ACL of each type (IP, IPX, MAC Layer) to each port that is
configured for port-based QoS. You cannot attach the ACLs to a port that is configured for
VLAN-based QoS (for more information, see the
“Enabling Port-Based or VLAN-Based QoS”
section on page 52-40
).
•
With PFC3, for the egress traffic, attach an IP ACL to each VLAN.
When an ACL of a particular type (IP, IPX, or MAC Layer) is already attached to an interface, attaching
a different ACL of the same type detaches the previous ACL.
To attach an ACL to a port or a VLAN, perform this task in privileged mode:
Note
Only PFC3 supports the
input
and
output
keywords.
Note
With software release 8.3(1) and later, the ACLs that are attached to a VLAN with the
output
keyword
also support the
trust-cos
and
trust-ipprec
keywords.
This example shows how to attach an ACL named test to VLAN 1 to filter the ingress traffic:
Console> (enable)
set qos acl map test 1
ACL test is successfully mapped to vlan 1 on input side.
Console> (enable)
Task
Command
Step 1
Attach an ACL to an interface.
set qos acl map
acl_name
{
mod/port
[
input
] |
vlan
[
input
|
output
]}
Step 2
Verify the configuration.
show qos acl map
{
config
|
runtime
} {
acl
_
name
|
mod/port
|
vlan
|
all
}