2-368
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
mac access-list extended
mac access-list extended
Use the mac access-list extended global configuration command on the switch stack or on a standalone
switch to create an access list based on MAC addresses for non-IP traffic. Using this command puts you
in the extended MAC access-list configuration mode. Use the no form of this command to return to the
default setting.
mac access-list extended name
no mac access-list extended name
Syntax Description
Defaults By default, there are no MAC access lists created.
Command Modes Global configuration
Command History
Usage Guidelines MAC named extended lists are used with VLAN maps and class maps.
You can apply named MAC extended ACLs to VLAN maps or to Layer 2 interfaces; you cannot apply
named MAC extended ACLs to Layer 3 interfaces.
Entering the mac access-list extended command enables the MAC access-list configuration mode.
These configuration commands are available:
• default: sets a command to its default.
• deny: specifies packets to reject. For more information, see the deny (MAC access-list
configuration) MAC access-list configuration command.
• exit: exits from MAC access-list configuration mode.
• no: negates a command or sets its defaults.
• permit: specifies packets to forward. For more information, see the permit (MAC access-list
configuration) command.
For more information about MAC extended access lists, see the software configuration guide for this
release.
Examples This example shows how to create a MAC named extended access list named mac1 and to enter extended
MAC access-list configuration mode:
Switch(config)# mac access-list extended mac1
Switch(config-ext-macl)#
name
Assign a name to the MAC extended access list.
Release Modification
12.2(53)SE2 This command was introduced.