Reference Guide
Access Control Lists (ACL) | 231
Common MAC Access List Commands
The following commands are available within both MAC ACL modes (Standard and
Extended) and do not have mode-specific options.
c and s platforms support Ingress MAC ACLs only.
The following commands allow you to clear, display and assign MAC ACL configurations.
• clear counters mac access-group
• mac access-group
• show mac access-lists
• show mac accounting access-list
clear counters mac access-group
c e s
Clear counters for all or a specific MAC ACL.
Syntax
clear counters mac access-group [mac-list-name]
Parameters
Command Modes
EXEC Privilege
Command
History
mac access-group
c e s
Apply a MAC ACL to traffic entering or exiting an interface.
Syntax
mac access-group access-list-name {in [vlan vlan-range] | out}
Parameters
Defaults
No default behavior or configuration
mac-list-name
(OPTIONAL) Enter the name of a configured MAC access list.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.6.1.0 Support added for S-Series
Version 7.5.1.0 Support added for C-Series
pre-Version 6.1.1.0 Introduced for E-Series
access-list-name
Enter the name of a configured MAC access list, up to 140 characters.
vlan vlan-range
(OPTIONAL) Enter the keyword vlan followed a range of VLANs. Note
that this option is available only with the in keyword option.
Range: 1 to 4094, 1-2094 for ExaScale (can used IDs 1-4094)
in
Enter the keyword in to configure the ACL to filter incoming traffic.
out
Enter the keyword out to configure the ACL to filter outgoing traffic. Not
available on S-Series.










