Celestica Documentation Portal

Find your product documents here

IPv4 Access-list show command

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

Syntaxshow ip access-lists [<acl-name>]
Command modeEXEC
Parameters
  • acl-name – Access list name. Accepts a string with a maximum of 63 characters.
UsageUse show ip 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 ip access-lists
ip access-list ip_access_name
     sequence 1 permit ip 1.1.1.1/24 2.2.2.2/16 dscp 63 (0 packets) [0 octets]
     sequence 2 deny tcp 1.1.1.1/32 eq 1000 2.2.2.2/32 eq 2000-4000 ack urg dscp 63 (0 packets) [0 octets]