Command Line Interface
4-98
4
map access-list ip
This command sets the output queue for packets matching an ACL rule. The
specified CoS value is only used to map the matching packet to an output queue; it
is not written to the packet itself. Use the no form to remove the CoS mapping.
Syntax
[no] map access-list ip acl_name cos cos-value
• acl_name – Name of the ACL. (Maximum length: 16 characters)
• cos-value – CoS value. (Range: 0-7)
Default Setting
None
Command Mode
Interface Configuration (Ethernet Ports 1-8)
Command Usage
• You must configure an ACL mask before you can map CoS values to the rule.
• A packet matching a rule within the specified ACL is mapped to one of the
output queues as shown in the following table. For information on mapping the
CoS values to output queues, see queue cos-map on page 4-188.
Example
Related Commands
queue cos-map (4-188)
show map access-list ip (4-98)
show map access-list ip
This command shows the CoS value mapped to an IP ACL for the current interface.
(The CoS value determines the output queue for packets matching an ACL rule.)
Syntax
show map access-list ip [interface]
interface
• ethernet unit/port
- unit - This is device 1.
- port - Port number. (Range: 1-8)
Table 4-35 Egress Queue Priority Mapping
Priority
01234567
Queue
12034567
Console(config)#interface ethernet 1/2
Console(config-if)#map access-list ip bill cos 0
Console(config-if)#