Posted on October 31, 2019 12:32 am
 |  Asked by Mario Mancini
Print Friendly, PDF & Email

Good morning,
I couldn’t find the difference between the access-list commands
statistics per-entry
counters per-entry
Maybe they work the same way?
Or maybe are they different?

However, only the description about the “counters per-entry” command is found in the EOS-4.22 manual.

But in the Arista site there is the description of the “statistics per-entry” command, which can be used with “detail”
(config)#show ip access-lists sampleAcl detail
IP Access List sampleAcl
statistics per-entry
10 deny ip any any [match 5 packets, 0:00:00 ago ]

statistics per-entry
10 deny ip any any [match 15 packets, 0:05:00 ago ]

following the link:

I don’t have Arista switches with EOS 4.22, but in 4.21 “detail” does not exist. In the ACL I have the “statistics per-entry” instruction in some switches and “counters per-entry” in others.

And if they are the same command, in the future, in the new EOS which of the two commands – “statistics per-entry” “counters per-entry” – will be obsolete?

Thanks in advance, any help is appreciated,

Answered on October 31, 2019 12:33 am

Hi Mario,

Thank you for contacting the forum. You are right that the statistics per-entry is now replaced with counters per-entry. More information about the CLI command changes is shared via Field Notice 39 which is found here:

You will need to login to the Arista website in order to access the above notice.


Posted by Mario Mancini
Answered on November 12, 2019 4:24 pm

Thanks Dharmesh, a lot for the answer. Link to field-notice-39 is very usefull.
Now I will change to "counters per-entry"


Post your Answer

You must be logged in to post an answer.