Command Line Reference Guide
Access Control Lists (ACL) | 245
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]
Parameters
Command Modes
EXEC Privilege
Command
History
\
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
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 to 128
E-Series Range: 1 to 255 for TeraScale and 1 to 512 for 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 on ingress or egress side.
Version 8.4.1.0 Introduced
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 to 128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to
512 for 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.