hit counter script

Mac Access-Group - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

mac access-group

Use the mac access-group interface configuration command to apply a named extended MAC access
control list (ACL) to an interface. Use the no form of this command to remove a MAC ACL from an
interface.
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
name
Defaults
No MAC ACL is applied to the interface.
Command Modes
Interface configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
You can apply MAC ACLs only to ingress interfaces. If an IP access group is already defined for an
interface, you cannot apply this command to the interface.
After receiving the packet, the switch checks the match conditions in the ACL. If the conditions are
matched, the switch forwards the packet.
If the specified ACL does not exist, the switch forwards all packets.
For more information about configuring MAC extended ACLs, see the "Configuring Network Security
Note
with ACLs" chapter in the software configuration guide for this release.
Examples
This example shows how to apply a MAC extended ACL named macacl2 to an interface:
Switch(config)# interface fastethernet0/1
Switch(config-if)# mac access-group macacl2 in
You can verify your settings by entering the show mac access-group privileged EXEC command.
OL-10102-01
mac access-group name in
no mac access-group name in
Name of the MAC extended ACL.
Modification
This command was introduced.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
mac access-group
2-185

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents