Solved

How to clear logs on HP switch

Posted on 2013-11-24
2
3,682 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 24

Expert Comment

by:diverseit
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

16 Experts available now in Live!

Get 1:1 Help Now