Solved

How to clear logs on HP switch

Posted on 2013-11-24
2
4,022 Views
Last Modified: 2013-12-02
Hi,

Im using 48 port HP procurve switch...

When I use the command "sh int" , its showing the complete statistics of each and individual ports including the Tx and Rx packets information.Also its showing up the packet drops information too.

If I give the "clear log" and "clear statistics all" commands and retry with "sh int" the logs for packet drops column seems empty.But once I relogin into the switch again its showing the packet drops information with the same value before clearing the log.

Can any one help in deleting those logs....

Thanks...
0
Comment
Question by:Al_Hassan_Group
2 Comments
 
LVL 25

Expert Comment

by:Diverse IT
ID: 39674480
Hi Al_Hassan_Group,

The Event Log of a switch can be cleared with the "clear log" command. Then issue the "show log" command to see only new Event Log messages. Issuing the "show logging -a" command will still display all events that have occurred since the switch was last rebooted.
0
 
LVL 3

Accepted Solution

by:
RKnebel512 earned 500 total points
ID: 39675260
On HP switches, the "clear statistics" only clears the counters for the current telnet session.

Try the command "clear statistics global".  This should clear them out completely.

From what I understand, this command wasn't in earlier versions of the firmware either, so if it doesn't work, I would look up your firmware to see if it's supported.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now