Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Listing Access Lists

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
Red

Re: Listing Access Lists

The following command shoud do the trick:

show access-list | include access

Cisco Employee

Re: Listing Access Lists

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

91
Views
15
Helpful
2
Replies