Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Enable ACL hit count Comware7 ?

drolfe
Valued Contributor

Enable ACL hit count Comware7 ?

HI, I've enable info-center

On my acl rules I have tried both logging and logging counting 

I can see the below in my buffer

%Mar 23 05:16:54:144 2016 HP-5900-Stack ACL/6/PFILTER_STATIS_INFO: -Slot=2; Ten-GigabitEthernet2/0/46 (outbound): Packet-filter 3200 rule 1260 deny ip destination X.X.X.X 0 logging 8 packet(s).

But when I run

dis acl number 3200

No hits are showing, what am I missing here ?

2 REPLIES
16again
Respected Contributor

Re: Enable ACL hit count Comware7 ?

On Cisco equipment I ran into this as well.
It seems like acl hit count will only increment for ACLs applied to control plane  (like snmp /telnet http access of switch) but not when applied to data plane. 

drolfe
Valued Contributor

Re: Enable ACL hit count Comware7 ?

HI, Thanks for the reply,

I was thinking the same except...

The log show the hit count per a 5 minute interval so why can't I see it on the ACL

%Mar 23 05:16:54:144 2016 HP-5900-Stack ACL/6/PFILTER_STATIS_INFO: -Slot=2; Ten-GigabitEthernet2/0/46 (outbound): Packet-filter 3200 rule 1260 deny ip destination X.X.X.X 0 logging 8 packet(s).

Regards, Daniel