2-565
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set qos acl map
set qos acl map
To attach an ACL to a specified port or VLAN, use the set qos acl map command.
set qos acl map acl_name {mod/port | vlan} [input]
set qos acl map acl_name vlan output
Syntax Description
Defaults There are no default ACL mappings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines
Caution This command may fail if you try to map an ACL to a VLAN and the NVRAM is full.
Caution Use the copy command to save the ACL configuration to Flash memory.
If you try to configure an ACL feature that is not supported on th e i nput or t he ou tput inte rfa ce, t he
setqos acl map command fails with an error message.
Only PFC3 supports the input and output keywords. If you do not specify a direction keyword (input
or output), the system automatically specifies input.
Examples This example shows how to attach an ACL to a port:
Console> (enable) set qos acl map my_acl 2/1
ACL my_acl is attached to port 2/1.
Console> (enable)
acl_name Name of the list to which the entry belongs.
mod/port Number of the module and the port on the mod ule.
vlan Number of the VLAN; valid values are from 1 to 4094.
input (Optional) Attaches the ACL to the ingress interface. See the “Usage Guidelines”
section for more information.
output Attaches the ACL to the egress interface.