cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1681
Views
5
Helpful
4
Replies

access list hit count

bapatsubodh
Level 1
Level 1

Hi,

I am having some weird problem. we have configured access list for the applications on ASA outside interface. It is working also but I am not able to see any hit count on the access list. It increases only by one when a new session is initiated from outside world. If we continue to use that application hit count doesnt seem to increase. I checked in the command show conn detail it shows the connection established.

any related experience please share ?

Any link on cisco.com

thanks in advance

subodh

4 Replies 4

allissrcco
Level 1
Level 1

Hi Bapatsubodh,

I have often wondered about this and I have come to the conclusion that the count only increments for each new session started. Hence once the session has been established further packets for this session do not increment the counter. If you disconnect the session and start a new one the counter will increment.

Does anyone else out there have an alternative explaination?

Hi,

Allissrco,

Thanks for your feedback. This means I am not the only one who has seen this weird begaviour.

Please post if you have any other feedback

Thanks

Subodh Bapat

suschoud
Cisco Employee
Cisco Employee

When the connection is not established,access list and nat is checked.As soon as connection gets established,these checks are not performed any more.

That's why ,you would see a single hitcount.

Here is how pix/asa processes traffic :

1. Recieve Packet.

2. Existing Connection?

3. Permit by Inbound ACL on interface?

4. Match translation rule (nat, static).

5. NAT embedded IP and perform security checks / randomize sequence number.

6. NAT IP header.

7. Pass packet to outgoing interface.

8. Layer 3 route lookup?

9. Layer 2 next hop?

10. Transmit packet.

So,if there is an existing connection,f/w would transmit...no further checks.

Please rate if helpful.

Regards,

Sushil

Excelent explanation!

I tried to find in docs when are hit counts deleted, except when I use clear command. Only during reboot ASA? And during fail over ? Or in any other situation?

Thank you!

Radim

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:

Review Cisco Networking products for a $25 gift card