Celestica Documentation Portal

Find your product documents here

MAC Access-list show command

Displays the details of MAC access-list and rules, along with packets and bytes count of each rule.

Syntaxshow mac access-lists [<acl-name>]
Command modeEXEC
Parameters
  • acl-name – Access list name. Accepts a string with a maximum of 63 characters.
UsageUse show mac access-lists [<acl-name>] to display the access-list.
Supported Releases 1.0.0 or later
Click command
  • show acl table

  • show acl rule

Options: -p and -s help to bind access-list to interface.
Example
sonic# show mac access-lists
mac access-list mac_access_name
     sequence 1 permit 00:00:00:00:00:00 00:00:00:00:00:00 00:00:00:00:00:00 00:00:00:00:00:00 ip (0 packets) [0 octets]
     sequence 2 deny 11:11:11:11:11:11 ff:ff:ff:ff:ff:ff 22:22:22:22:22:22 ff:ff:ff:ff:ff:ff arp (0 packets) [0 octets]