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-lists [
access-list-name
] [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 slot/port or number information:
• For a Port Channel interface, enter the keywords
port-
channel
and then enter a number. The range is from 1
to 128.
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
and then enter the slot/port
information.
• For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
and then enter the slot/port information.
• For a VLAN interface enter the keyword VLAN and then
the
vlan id
.
in | out
Identify whether ACL is applied on ingress or egress side.
Command
Modes
EXEC Privilege
Command
History
Version 8.3.16.1
Introduced on the MXL 10/40GbE Switch IO Module.
show mac accounting access-list
Display MAC access list configurations and counters (if configured).
Syntax
show mac accounting access-list
access-list-name
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 slot/port or number information:
• For a Port Channel interface, enter the keywords
port-
channel
and then enter a number. The range is from 1
to 128.
182
Access Control Lists (ACL)