show mac access-lists

Displays information for all Layer 2 (MAC) ACLs.
Syntax
show mac access-lists
show mac access-lists name
show mac access-lists bindings
show mac access-lists brief
Parameters
name
Specifies an access list.
bindings
Specifies layer 2 filter bindings.
brief
Specifies summarized information.
Modes

User EXEC

Examples

The following example shows that there are two Layer 2 (MAC) ACLs configured on the device and lists the filters that each ACL applies.

device# show mac access-lists
mac access-list mac123: 2 entries
deny 0000.1111.0011 ffff.ffff.ffff any
permit 0000.1111.0033 ffff.ffff.ffff any
mac access-list mac456: 1 entries
permit 1234.5678.9000 ffff.ffff.ffff any

The following example displays information for MAC ACL mac456, which indicates that the ACL allows all traffic from IP address 1234.5678.9000. The information also indicates tha the ACL is enabled for logging and mirroring.

device# show mac access-lists mac456
mac access-list mac456: 1 entries
log-enable
permit 1234.5678.9000 ffff.ffff.ffff any log mirror
History
Release version Command history
08.0.95 This command was introduced.
09.0.00 This command was modified to accept a MAC ACL name without the preceding name keyword.