1

I run a rapid ping and then run show system statistics icmp

I want to run another ping test but how do I clear out the old stats?

clear interfaces statistics all does not clear out the icmp stats

1 Answer 1

5

show system statistics icmp shows the involvement of the Route Processor in handling ICMP. It's a useful capacity planning tool for setting filters to avoid the RP being attacked by ICMP floods. The counter can't be zeroed from the command line as it's really the output of FreeBSD's netstat -s. Because of this will will go back to zero when a RP is booted and may have a discontinuity when RPs hitlessly change between master and slave.

For what you are trying to do you could set a firewall filter to count the ICMP packets seen at the interface.

1
  • Is there a juniper doc on how to do that with a firewall filter?
    – red888
    Aug 3, 2017 at 12:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.