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

Answered Question
Jul 23rd, 2009

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

I have this problem too.
0 votes
Correct Answer by handsy about 7 years 6 months ago

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

.

.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
handsy Fri, 07/24/2009 - 04:22

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

.

.

Actions

This Discussion