Solved

How to clear logs on HP switch

Posted on 2013-11-24
2
4,324 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

Suggested Solutions

Title # Comments Views Activity
How DHCP Works in Wired/Wireless network 21 138
Filter IP range with PowerShell 1 40
Cisco 5508 controller parsing error 4 56
spanning tree loop even though stp is enabled 10 30
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

813 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

14 Experts available now in Live!

Get 1:1 Help Now