Command Line Interface
4-108
4
map access-list mac
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 mac 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.
• By default, a packet matching a rule within the specified ACL is mapped to one
of the output queues as shown below.
Example
Related Commands
queue cos-map (4-188)
show map access-list mac (4-108)
show map access-list mac
This command shows the CoS value mapped to a MAC ACL for the current
interface. (The CoS value determines the output queue for packets matching an
ACL rule.)
Syntax
show map access-list mac [interface]
interface
• ethernet unit/port
- unit - This is device 1.
- port - Port number. (Range: 1-8)
Table 4-37 Mapping CoS Values to MAC ACLs
Priority
01234567
Queue
12034567
Console(config)#int eth 1/5
Console(config-if)#map access-list mac M5 cos 0
Console(config-if)#