beautypg.com

Map access-list mac, Show map access-list mac, Table 4-37 – Accton Technology ES5508 User Manual

Page 320: Mapping cos values to mac acls

background image

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

0

1

2

3

4

5

6

7

Queue

1

2

0

3

4

5

6

7

Console(config)#int eth 1/5
Console(config-if)#map access-list mac M5 cos 0
Console(config-if)#