beautypg.com

Match access-list mac – Accton Technology ES5508 User Manual

Page 321

background image

Access Control List Commands

4-109

4

Command Mode

Privileged Exec

Example

Related Commands

map access-list mac (4-108)

match access-list mac

This command changes the IEEE 802.1p priority of a Layer 2 frame matching the
defined ACL rule. (This feature is commonly referred to as ACL packet marking.)
Use the no form to remove the ACL marker.

Syntax

match access-list mac acl_name set priority priority
no match access-list mac acl_name

acl_name – Name of the ACL. (Maximum length: 16 characters)
priority – Class of Service value in the IEEE 802.1p priority tag.

(Range: 0-7; 7 is the highest priority)

Default Setting

None

Command Mode

Interface Configuration (Ethernet Ports 1-8)

Command Usage

You must configure an ACL mask before you can change frame priorities
based on an ACL rule.

Example

Related Commands

show marking (4-100)

Console#show map access-list mac
Access-list to COS of Eth 1/5

Access-list M5 cos 0

Console#

Console(config)#interface ethernet 1/12
Console(config-if)#match access-list mac a set priority 0
Console(config-if)#