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

how to list only the access-lists names and not the ACE

Hi,

I need to know what are the access-lists which are present in the ASA.

Show access-list gives all the access-list names access-list entries.

My acccess-list entries are long so It is hard to look for access-list which contains only two or one entries on them.

Please let me know a solution,either CLI or in ASDM

Thanks,

Chandru

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: how to list only the access-lists names and not the ACE

show access-list | include elements

That command gives you an output that shows you how many elements (ACE) there are in every ACL on the ASA.

eg.

.

.

access-list inside_nat0_outbound; 176 elements

access-list corporate_in; 10 elements

access-list internet_in; 7 elements

.

.

2 REPLIES
New Member

Re: how to list only the access-lists names and not the ACE

show access-list | include elements

That command gives you an output that shows you how many elements (ACE) there are in every ACL on the ASA.

eg.

.

.

access-list inside_nat0_outbound; 176 elements

access-list corporate_in; 10 elements

access-list internet_in; 7 elements

.

.

New Member

Re: how to list only the access-lists names and not the ACE

Thank you so much. This is what I needed

Chandru

128
Views
0
Helpful
2
Replies