6 mac access-list – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 665
![background image](/manuals/651410/665/background.png)
CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 665 of 855
None
Examples
This example shows how to display all the ARP ACL information.
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