2-215
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
mac access-list extended
mac access-list extended
Use the mac access-list extended global configuration command 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 should use this command (and not the access-list global configuration command) for defining
Layer
2 access lists.
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
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 command.
Note 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.1(4)EA1 This command was introduced.