beautypg.com

Show access-list mac mask-precedence – Accton Technology ES5508 User Manual

Page 318

background image

Command Line Interface

4-106

4

This example creates an Egress MAC ACL.

show access-list mac mask-precedence

This command shows the ingress or egress rule masks for MAC ACLs.

Syntax

show access-list mac mask-precedence [in | out]

• in – Ingress mask precedence for ingress ACLs.
• out – Egress mask precedence for egress ACLs.

Command Mode

Privileged Exec

Example

Related Commands

mask (MAC ACL) (4-104)

Console(config)#access-list mac M5
Console(config-mac-acl)#deny tagged-802.3 host 00-11-11-11-11-11 any
Console(config-mac-acl)#deny tagged-eth2 00-11-11-11-11-11

ff-ff-ff-ff-ff-ff any vid 3 ethertype 0806

Console(config-mac-acl)#end
Console#show access-list
MAC access-list M5:

deny tagged-802.3 host 00-11-11-11-11-11 any
deny tagged-eth2 host 00-11-11-11-11-11 any vid 3 ethertype 0806

Console(config)#access-list mac mask-precedence out
Console(config-mac-mask-acl)#mask pktformat ff-ff-ff-ff-ff-ff any vid
Console(config-mac-mask-acl)#exit
Console(config)#interface ethernet 1/5
Console(config-if)#mac access-group M5 out
Console(config-if)#end
Console#show access-list
MAC access-list M5:

deny tagged-eth2 host 00-11-11-11-11-11 any vid 3 ethertype 0806
deny tagged-802.3 host 00-11-11-11-11-11 any

MAC ingress mask ACL:

mask pktformat host any vid ethertype

Console#

Console#show access-list mac mask-precedence
MAC egress mask ACL:

mask pktformat host any vid ethertype

Console#