Solved

How to clear logs on HP switch

Posted on 2013-11-24
2
5,220 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: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

Technology Partners: 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

Suggested Solutions

Title # Comments Views Activity
How to migrate from Juniper srx to pan 7.x? 2 36
connect to cisco 2690 series 6 73
Zultys IP phone on home network 19 60
Routers to buy for MDT Multitasking 6 78
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
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…

739 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