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

access list hit count

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
New Member

Re: access list hit count

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?

New Member

Re: access list hit count

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

Cisco Employee

Re: access list hit count

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

New Member

Re: access list hit count

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

574
Views
5
Helpful
4
Replies