Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
You must configure an ACL mask before you can change frame priorities
based on an ACL rule.
Example
Console(config)#interface ethernet 1/12
Console(config-if)#match access-list mac a set priority 0
Console(config-if)#
Related Commands
show marking (4-125)
ACL Information
Command
show access-list
show access-group
show access-list
This command shows all ACLs and associated rules, as well as all the user-defined
masks.
show access-list [ip | mac] [mask-precedence in | out]
• ip - Specifies an IP access list.
• mac - Specifies a MAC access list.
• mask-precedence - Specifies mask precedence for IP ACLs.
- in - Specifies ingress ACLs.
- out - Specifies egress ACLs.
Command Mode
Privileged Exec
Command Usage
Once the ACL is bound to an interface (i.e., the ACL is active), the order in
which the rules are displayed is determined by the associated mask.
Table 4-42. ACL Information
Function
Show all ACLs and associated rules
Shows the ACLs assigned to each port
Access Control List Commands
Mode
PE
PE
4
Page
4-136
4-136
4-135