Reference v4.1.0 Instruction Manual

Network OS Command Reference 441
53-1003115-01
mac access-list extended
2
mac access-list extended
Creates and assigns a name to the extended MAC access list.
Synopsis mac access-list extended name
no mac access-list extended name
Operands name Assigns a name to the MAC extended access list. The name must start with
a letter (‘a’ to ‘z’, ‘A’ to ‘Z’), or a number (‘1’ to ‘9’), and the only special
characters allowed are underscores and hyphens. The name must be
between 1 and 63 characters in length.
Defaults None
Command Modes Global configuration mode
Description Use this command to create an extended MAC access list. If the ACL is already created, this
command puts the switch in the extended MAC access-list configuration mode.
Extended ACLs allow you to filter traffic based on the following:
Source MAC address
Destination MAC address
EtherType
You can apply named MAC extended ACLs to VLANs and to Layer 2 interfaces.
Usage Guidelines Standard and extended MAC ACLs cannot share the same name.
Enter no mac access-list extended to remove the access list.
Examples To create a MAC extended ACL named mac1:
switch(config)# mac access-list extended mac1
switch(conf-macl-ext)#
To delete a MAC extended ACL named mac1:
switch(conf-macl-ext)# no mac access-list extended mac1
switch(config)#
See Also deny (extended ACLs), deny (standard ACLs), permit (extended ACLs), permit (standard ACLs)