Reference Guide

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. These commands allow you to clear, display, and assign MAC ACL configurations.
The C-Series and S-Series platforms (except the S4810) support Ingress MAC ACLs only.
The S4810 and Z9000 support both Ingress and Egress MAC ACLs.
clear counters mac access-group
Clear counters for all or a specific MAC ACL.
C-Series, E-Series, S-Series, Z-Series
Syntax
clear counters mac access-group [mac-list-name]
Parameters
mac-list-name
(OPTIONAL) Enter the name of a configured MAC access list.
Command Modes EXEC Privilege
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
mac access-group
Apply a MAC ACL to traffic entering or exiting an interface.
C-Series, E-Series, S-Series, Z-Series
Syntax
mac access-group access-list-name {in [vlan vlan-range] | out}
To delete a MAC access-group, use the no mac access-group mac-list-name
command.
Parameters
access-list-name
Enter the name of a configured MAC access list, up to 140 characters.
vlan
vlan-range
(OPTIONAL) Enter the keyword vlan and then enter a range of
VLANs. The range is 1 to 4094 and 1 to 2094 for ExaScale (you can use
IDs 1 to 4094).
NOTE: This option is available only with the keywordin option.
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.
288