show running-config ip access-list

Displays a list of IPv4 ACLs defined on the switch, including the rules they contain.

Syntax

show running-config ip access-list [ { standard | extended } [ ACL_name ] ]

Parameters

standard
Specifies the standard ACL type.
extended
Specifies the extended ACL type.
ACL_name
Specifies the ACL name.

Modes

Privileged EXEC mode

Usage Guidelines

This command is supported only on the local switch.

Not specifying standard or extended displays a list of all IPv4 ACLs defined on the switch.

If you specify standard or extended, you can also specify an ACL.

To display details of IPv4 ACLs bound to interfaces, use the show access-list ip command.

Examples

The following example displays the IPv4 ACLs defined on the switch.
device# show running-config ip access-list
 
ip access-list standard stdACL3 
  seq 5 permit host 10.20.33.4
  seq 7 permit any
ip access-list extended extdACL5 
  seq 5 deny tcp host 10.24.26.145 any eq 23 
  seq 7 deny tcp any any eq 80
  seq 10 deny udp any any range 10 25
  seq 15 permit tcp any 
ip access-list extended extdACLwithNoRules