show ip access-list

Displays specific IPv4 access control list (ACL), all configured IPv4 access lists, or IPv4 ACLs bound to a route map or listener policy.

Syntax

show ip access-list {name | all }
show ip access-list all route-map
show ip access-list all listener-policy

Parameters

name
Shows information for the named IPv4 ACL.
all
Shows all configured IPv4 ACLs.
route-map
Shows all IPv4 ACLs bound to a route map.
listener-policy
Shows all IPv4 ACLs bound to a listener policy.

Modes

Exec mode

Usage Guidelines

To display all IPv4 ACLs bound to a route map or listener policy, the route-map and listener policy optional parameters are available.

Examples

The following example shows the configured ACL named IPv4-1.

device# show ip access-list IPv4-1
ip access-list IPv4-1
	seq 66 permit tcp any any (0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec )
	seq 65 permit udp any any (0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec )
   

The following example shows all configured ACLs and all ACLs bound to a route map or listener policy options..

device# show ip access-list all 
ip access-list IPv4-1 
seq 66 permit tcp any any ( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec ) 

device# show ip access-list all route-map 
Route map: rm1 
  ip access-list v4 
    seq 10 permit ip any any ( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec ) 
  ip access-list ip-3 
    seq 70 permit udp any any dport 20000 dport-end 20010 sport 10000 sport-end 10010
    ➥( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec ) 

device# show ip access-list all listener-policy 
Listener policy: LP1 
  ip access-list ip-eg-acl 
    seq 10 permit ip any any ( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec )