Command Line Reference Guide

Access Control Lists (ACL) | 221
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 accounting access-list
c e s
Display MAC access list configurations and counters (if configured).
Syntax
show mac accounting access-list access-list-name interface interface in | out
Parameters
Command Modes
EXEC
EXEC Privilege
Command
History
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.
access-list-name
Enter the name of a configured MAC ACL, up to 140 characters.
interface interface Enter the keyword interface followed by the one of the following keywords
and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet
followed by the slot/port information.
For a Port Channel interface, enter the keyword
port-channel followed
by a number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 255 for TeraScale and ExaScale.
For a SONET interface, enter the keyword
sonet followed by the slot/
port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
in | out
Identify whether ACL is applied ay Ingress (in) or egress (out) side.
Version 8.3.5.0 Introduced on the S55.
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