6 mac access-list, 7 exit – CANOGA PERKINS 9175 Command Reference User Manual
Page 595
33-4
Switch# show access-list arp
Related Commands
None
33.6 mac access-list
Use this command to create MAC ACL and then enter MAC ACL configuration mode.
Command Syntax
mac access-list acl
no mac access-list acl
acl: the name of the MAC ACL
Command Mode
Global configuration
Usage
If the system already has a MAC ACL with the same name, this command will enter the MAC ACL
configuration mode. However, if the ACL name is used by other type of ACL, an prompt message will be
shown.
When the name is not used by any ACL, this command is to create the MAC ACL firstly and then enter
the MAC ACL configuration mode.
On how to apply the created MAC ACL in the interface, please refer to the usage of mac access-group
command in related chapter.
Examples
This example shows how to create a MAC ACL named list_mac_1 and then enter the MAC ACL
configuration mode.
Switch(config)# mac access-list list_mac_1
Switch(config-mac-acl)#
This example shows how to remove the MAC ACL named list_mac_1.
Switch(config)# no mac access-list list_mac_1
Related Commands
exit
mac access-group
33.7 exit
Use this command to quit MAC ACL configuration.
Command Syntax
CanogaOS Command Reference