Quick Reference Guide
108 ACL Commands
www.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – FOR PROOF ONLY
Syntax
•
mac access-list
name
•
no mac access-list
name
•
name
— Specifies the name of the ACL.
Default Configuration
No MAC access list is defined.
Command Mode
Global Configuration mode.
User Guidelines
MAC ACLs are defined by a unique name. IP-based ACLs and MAC-based ACLs cannot share
the same name.
Example
The following example shows how to create a MAC ACL.
permit (MAC)
The permit MAC-Access List Configuration mode command sets permit conditions for a MAC
access list.
Syntax
•
permit
{
any
| {
source source-wildcard
}
any
| {
destination destination-wildcard
}} [
vlan
vlan-
id
] [
cos
cos cos-wildcard
] [
ethtype
eth-type
]
•
source
— Specifies the source MAC address of the packet.
•
source-wildcard
— Specifies wildcard bits to be applied to the source MAC address by
placing 1s in bit positions to be ignored.
•
any
— Specify a MAC address and mask. For example, to set 00:00:00:00:10:XX use the
Mac address 00:00:00:00:10:00 and mask 00:00:00:00:00:FF.
•
destination
— Specifies the MAC address of the host to which the packet is being sent.
•
destination-wildcard
— Specifies wildcard bits to be applied to the destination MAC
address by placing 1s in bit positions to be ignored.
•
vlan-id
— Specifies the ID of the packet vlan. (Range: 1 - 4093)
•
cos
— Specifies the Class of Service (CoS) for the packet. (Range: 0 - 7)
Console(config)# mac access-list macl-1
Console(config-mac-al)#










