Mac Access-List Extended - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2
Catalyst 2960 Switch Cisco IOS Commands

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.
name
Syntax Description
Defaults
By default, there are no MAC access lists created.
Command Modes
Global configuration
Command History
Release
12.2(25)FX
Usage Guidelines
MAC named extended lists are used with class maps.
You can apply named MAC extended ACLs to Layer 2 interfaces.
Entering the mac access-list extended command enables the MAC access-list configuration mode.
These configuration commands are available:
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)#
78-16882-01
mac access-list extended name
no mac access-list extended name
Assign a name to the MAC extended access list.
Modification
This command was introduced.
default: sets a command to its default.
deny: specifies packets to reject. For more information, see the
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
configuration)
command.
mac access-list extended
deny (MAC access-list
permit (MAC access-list
Catalyst 2960 Switch Command Reference
2-139

Advertisement

Table of Contents
loading

Table of Contents