Solved

How to clear logs on HP switch

Posted on 2013-11-24
2
5,646 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 25

Expert Comment

by:Blue Street Tech
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

627 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