CLI Guide
Version Description
8.1.1.0 Introduced on the E-Series.
7.8.1.0 Increased the name string to accept up to 140 characters.
Prior to 7.8.1.0, names are up to 16 characters long.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
6.1.1.0 Introduced on the E-Series.
Usage Information You can assign one ingress ACL and one egress ACL (standard or extended) to an
interface.
Related
Commands
• mac access-list standard — configure a standard MAC ACL.
• mac access-list extended — configure an extended MAC ACL.
show mac access-lists
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-list {in | out | interface interface {in | out}
| access-list-name {in | out | interface interface {in | out}}
Parameters
access-list-name Enter the name of a configured MAC ACL, up to 140
characters.
interface interface Enter the keyword interface then the one of the
following keywords and the interface information:
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port/subport
information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port/subport information.
• For a 25-Gigabit Ethernet interface, enter the keyword
twentyFiveGigE then the slot/port/subport
information.
• For a 50-Gigabit Ethernet interface, enter the keyword
fiftyGigE then the slot/port/subport information.
• For a 100-Gigabit Ethernet interface, enter the keyword
hundredGigE then the slot/port information.
• For a VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
• For a port-channel interface, enter the keywords port-
channel then the port-channel ID.
in | out Identify whether ACL is applied on ingress or egress side.
234
Access Control Lists (ACL)










