Quick Reference Guide

386 | ACL Commands
www.dell.com | support.dell.com
mac access-list extended
This command creates a MAC Access Control List (ACL) identified by name, consisting of
classification fields defined for the Layer 2 header of an Ethernet frame.
The no version of this command deletes a MAC ACL identified by name from the system.
Syntax
mac access-list extended name
Parameters
Mode
Global Config
Related
Commands
mac access-list extended rename
This command changes the name of an existing MAC ACL. The name parameter is the name of an
existing MAC ACL. The newname parameter is a case-sensitive alphanumeric string from 1 to 31
characters uniquely identifying the MAC access list.
This command fails if a MAC ACL by the name newname already exists.
Syntax
mac access-list extended rename name newname
Parameters
Mode
Global Config
Note: The CLI mode is changed to Mac Access List Config (prompt is “hostname
(Mac-Access-List Config)#”) when this command is successfully executed. If a MAC ACL
by this name already exists, this command simply invokes the mode.
name
Case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying
the MAC access list. The string may include alphabetic, numeric, dash, dot or
underscore characters only. The string must start with a letter.
{deny|permit}
Creates a new rule for the MAC access list selected by the
mac
access-list extended command.
interface range Defines an interface range and accesses the Interface Range mode
mac access-group (port
channel)
In the Interface Port Channel Config mode, attaches a MAC ACL to the
selected port channel
mac access-group
Attaches a specific MAC Access Control List (ACL) identified by
name to
an interface in the ingress direction
mac access-list extended
rename
Changes the name of an existing MAC ACL.
show mac access-lists
Displays the rules defined for the MAC access list specified by
name.
name
The ACL name assigned during the creation of the ACL by using the mac
access-list extended command
newname
Case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying
the MAC access list. The string may include alphabetic, numeric, dash, dot or
underscore characters only. The string must start with a letter.