SMC Networks SMC6752AL2 用户手册
A
CCESS
C
ONTROL
L
IST
C
OMMANDS
4-133
Related Commands
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.
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)
• cos-value – CoS value. (Range: 0-7)
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
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 below.
Example
Table 4-37 Egress Queue Priority Mapping
Queue
0
1
2
3
Priority
1,2
0,3
4,5
6,7
Console(config)#int eth 1/5
Console(config-if)#map access-list mac jerry cos 0
Console(config-if)#
Console(config-if)#map access-list mac jerry cos 0
Console(config-if)#