24-Port Layer 3 Switch Management Guide
C
OMMAND
L
INE
I
NTERFACE
4-84
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
Command Function Mode Page
access-list mac Creates a MAC ACL and enters configuration
mode
GC 4-84
permit, deny Filters packets matching a specified source
and destination address, packet format, and
Ethernet type
MAC-
ACL
4-85
mac access-group Adds a port to a MAC ACL IC 4-87
show mac
access-group
Shows port assignments for MAC ACLs PE 4-87
show mac
access-list
Displays the rules for configured MAC ACLs PE 4-88