Reference Guide
Access Control Lists (ACL) | 251
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
Command Modes
INTERFACE
Command
History
Usage
Information
You can assign one ACL (standard or extended) to an interface.
Prior to 7.8.1.0, names are up to 16 characters long.
Related
Commands
show mac access-lists
c e s
Display all of the Layer 2 ACLs configured in the system, whether or not they are applied to an
interface, and the count of matches/mismatches against each ACL entry displayed.
Syntax
show mac access-lists [access-list-name] [interface interface] [in | out]
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 to 2094 for ExaScale (can used IDs 1 to 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.
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.8.1.0 Increased name string to accept up to 140 characters. Prior to 7.8.1.0, names are up to
16 characters long.
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
mac access-list standard Configure a standard MAC ACL.
mac access-list extended Configure an extended MAC ACL.