C
OMMAND
L
INE
I
NTERFACE
3-182
MAC ACLs
access-list mac
Use this command to add a MAC access list and enter MAC ACL
configuration mode. Use the no form to remove the specified ACL.
Syntax
access-list mac acl_name
no access-list mac acl_name
acl_name – Name of the ACL. (Maximum length: 16 characters)
Default Setting
None
Command Mode
Global Configuration
Command Usage
• An ACL can contain either all permit commands or all deny
commands.
• When you create a new ACL or enter configuration mode for an
existing ACL, use the permit or deny command to add new rules to
the bottom of the list. To create an ACL, you must add at least one rule
to the list.
Command Function Mode Page
access-list mac Creates a MAC ACL and enters
configuration mode
GC 3-183
permit, deny Filters packets matching a specified source
and destination address and Ethernet type
MAC-
ACL
3-184
mac access-group Adds a port to a MAC ACL IC 3-185
show mac
access-group
Shows port assignments for MAC ACLs PE 3-186
show mac
access-list
Displays the rules for configured MAC ACLs PE 3-187