41-46
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 41 Configuring QoS
Configuring QoS
Attaching ACLs to Interfaces
Note
The commands in this section are not supported with a Layer 2 Switching Engine.
You can attach one ACL of each type to each VLAN and to each port configured for port-based QoS.
You cannot attach ACLs to a port configured for VLAN-based QoS (for more information, see the
“Enabling Port-Based or VLAN-Based QoS” section on page 41-32
). When an ACL of a particular type
(IP, IPX, or Ethernet) 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:
This example shows how to attach an ACL named my_acl to port 2/1:
Console> (enable)
set qos acl map my_acl 2/1
Hardware programming in progress...
ACL my_acl is attached to port 2/1.
Console> (enable)
This example shows how to attach an ACL named my_acl to VLAN 4:
Console> (enable)
set qos acl map my_acl 4
Hardware programming in progress...
ACL my_acl is attached to vlan 4.
Console> (enable)
Note
The default ACLs do not need to be attached to any interfaces.
Detaching ACLs from Interfaces
Note
The commands in this section are not supported with a Layer 2 Switching Engine.
To detach an ACL from a port or a VLAN, perform this task in privileged mode:
Task
Command
Step 1
Attach an ACL to an interface.
set qos acl map
acl_name
{
mod/port
|
vlan
}
Step 2
Verify the configuration.
show qos acl map
{
config
|
runtime
} {
acl
_
name
|
mod/port
|
vlan
|
all
}
Task
Command
Step 1
Detach an ACL from an interface.
clear qos acl map
acl_name
{
mod/port
|
vlan
|
all
}
Step 2
Verify the configuration.
show qos acl map
{
config
|
runtime
} {
acl
_
name
|
mod/port
|
vlan
|
all
}