Command Reference ACL Commands
Description
mac access-list
Use this command to create an extended MAC ACL. Use the no form of the command to remove the
ACL.
mac access-list extended {id | name}
no mac access-list extended {id | name}
Parameter
Description
Parameter Description
id
ID of the extended MAC ACL (700 to 799)
name
Name of the extended MAC ACL
Defaults
N/A
Command
mode
Global configuration mode.
Usage Guide Use the show access-lists command to display the ACL configurations.
Configuration
Examples
Create an extended MAC ACL:
Ruijie(config)# mac access-list extended mac-acl
Ruijie(config-mac-nacl)# show access-lists mac access-list extended mac-acl
Create an extended ACL:
Ruijie(config)# mac access-list extended 704
Ruijie(config-mac-nacl)# show access-lists mac access-list extended 704
Related
Commands
Command Description
show access-lists
Show the ACLs
Platform
Description
The mac ACL is not supported by routers.
no sn
Use this command to delete an entry of the ACL.
no sn
Parameter
Description
Parameter Description