Does anyone knows the script for clearing counters?
Google is your friend; simply query it with a question like "how to clear the interface counters on an HP ProCurve (or Cisco or other) switch or router?"
Without you providing the brand and type and model of device, it's challenging to answer your question correctly the first time; you might be asking how to clear the counters on a Windows server or a Sonic Wall firewall.
In the case of Cisco switches, the script that clears all their counters is:
clear count
y
You can also issue the "clear count ?" command and see other options.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.