ACL Command s
mac access-list
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 56
3
mac access-list
The mac access-list Global Configuration mode command enables the MAC-
Access List Configuration mode and creates Layer 2 ACLs. To delete an ACL, use
the no form of this command.
Syntax
mac access-list
name
no mac access-list
name
Parameters
name —
Specifies the name of the ACL. (Range: 0-32 characters) Use “” for
empty string.
Default Configuration
The default for all ACLs is deny all.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example shows how to create a MAC ACL.
Console(config)# mac access-list macl-acl1
Console(config-mac-al)#