cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
938
Views
15
Helpful
2
Replies

Listing Access Lists

mrashby
Level 1
Level 1

All,

I have a very simple question I have a router that has some very lengthy access lists on it. Is there a command I can type in that will just list the acess lists numbers and not run through all of the lists. For instance if I just want to know the list numbers on a router and not have to poll through all of the lists to get the acess lists numbers how can I do that? Thanks

2 Replies 2

nhabib
Level 9
Level 9

The following command shoud do the trick:

show access-list | include access

David Stanford
Cisco Employee
Cisco Employee

I don't see an exact way to do this. With show run and show access-lists you will still have to search through for the #'s

Perhaps you can try the | with includes or excludes

ex)

show access-lists | include 1

This will show all acl's with a 1 in them...sample output:

Standard IP access list 1

Extended IP access list 101

This could limit it to 10 commands using searches rather than grepping through everything

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: