mac access-list standard

Creates a standard MAC access control list (ACL). Standard ACLs contain rules that permit or deny traffic based on source addresses that you specify.

Syntax

mac access-list standard ACLname
no mac access-list standard ACLname

Parameters

ACLname
Specifies an ACL name unique among all ACLs (Layer 2 and Layer 3). The name can be up to 63 characters in length, and must begin with an alphanumeric character. No special characters are allowed, except for the underscore and hyphen.

Modes

Global configuration mode

Usage Guidelines

Use this command to create a standard MAC access list. If ACL is already created, this command puts the device in the standard MAC access-list configuration mode.

To remove a MAC ACL from an interface, enter the no form of this command.

Examples

The following command creates a MAC standard ACL named mac1.
device(config)# mac access-list standard mac1
device(conf-macl-std)# 
The following command deletes a MAC standard ACL named mac1.
device(conf-macl-std)# no mac access-list standard mac1