cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1791
Views
10
Helpful
2
Replies

See last time an ACL rule was hit from FTD CLI

sjhloco
Level 1
Level 1

Hi,

 

I am trying to workout a way to find the the last hit time for all the ACL rules on an FTD from the CLI. In ASAs you can use the show access-list all_name brief command and match the hashes from that with the hashes of the ACEs in an ACL to get the last time (unix-time format) an ACE was hit. This command does not seem to exist on FTDs, does anyone know if there is an equivalent command or any way to do this in FTD? 

 

Thanks

2 Replies 2

Chakshu Piplani
Cisco Employee
Cisco Employee

Can you try this:

> system support diagnostic-cli

FTD67> en
Password:  <hit enter>
FTD67#

 

 

FTD67# show rule hits         

RuleID               Hit Count           First Hit Time(UTC)     Last Hit Time(UTC)       
--------------------------------------------------------------------------------------
268434432            3267                16:58:32 Apr 18 2021     09:02:56 May 6 2021     
268434434            51479               16:54:58 Apr 18 2021     09:09:57 May 6 2021     

 

Regards,

Chakshu

 

Do rate helpful posts!

 

Thanks for the response. The show rule hits doesn't work but by going into system support diagnostic-cli I can now run show access-list all_name brief and get the information I need,

 

thanks

Review Cisco Networking for a $25 gift card