Troubleshooting CPU Spikes on Cisco Switches and Routers
Embed:
CPU spikes on switches and routers can cause crazy problems in the network because of the way that traffic flowing through the network gear can be discarded or paused. Applications like Solarwinds that track network utilization only show the processor usage average rather than tracking spikes that occur periodically. Network problems can still occur when the processor spikes close to 100 percent even for a few seconds.Thankfully, Cisco has included a new command that can track cpu spikes. You must be at the enable prompt in order to issue this command. You must be at the enable prompt in order to issue this command.
routerA#show process cpu history
This command will show CPU usage charts of the switch or router for the past 60 seconds, 60 minutes and 72 hours. The charts are neatly created in text format and show average CPU usage with the # sign and maximum CPU with * symbols. Note that the charts are not retained after the router or switch has rebooted. For the most part, anything above 80 percent is a concern. If the maximum CPU reaches above that point, then the network device probably created some sort of network disruption because there wasn't enough CPU cycles leftover to process the traffic. The symptoms are unusual, unexplainable and intermittent network problems-- almost like ghosts or gremlins are causing havoc in the network.
Isolating what is causing the CPU spikes
Unfortunately, most of the detective work comes after diagnosing the CPU spike. The simplest way is to watch the device and enter the following command during the processor spike.
RouterA#show process cpu sorted
The process occupying the most processor time will pop up to the top. That should isolate what type of traffic that is causing the spike. Notice that this command shows CPU utilization for five seconds, one minute and for five minutes.

You may also like...
- Configure Secondary IP Addresses on Cisc...
- How to Fix a CPU with Bent Pins on a Mic...
- A Brief Review of the Leading Processors...
- Create Port Channels and Boost Bandwidth...
- Understanding VLANs on Cisco Routers and...
- Configuring Authentication for Cisco Rou...
- Wireless Routers
- Tips on Troubleshooting Using an Ohm Met...
- Configure SSH Access to Cisco Switch and...
Did You Know?
When a switch or router's processor hits 100 percent utilization, traffic on that network typically pauses or freezes and that can cause many problems.Comments
Type in Your Comments Below - (1000 characters left)
Today's Most Commented On
Advertisment
