2-459
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-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}
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.
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)
This example shows how to attach an ACL to a VLAN:
Console> (enable) set qos acl map ftp_acl 4
ACL ftp_acl is attached to vlan 4.
Console> (enable)
This example shows what happens if you try to attach an ACL that has not been committed:
Console> (enable) set qos acl map new_acl 4
Commit ACL new_acl before mapping.
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 1005 and from 1025 to 4094.