cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
977
Views
5
Helpful
5
Replies

High CPU processing WS-C2960-24PC-L

RRFS578780
Level 1
Level 1

I have a problem with high CPU processing on the switch.

 

I tried to run EEM from the link below on the device (WS-C2960-24PC-L), but it doesn't have the event command

 

switchA(config)#event ?
% Unrecognized command
switchA(config)#event

 

But if I run it on device WS-C2960X-24PS-L, I can get it normally

 

switchB(config)#event ?
manager Event Manager configuration commands

switchB(config)#event

 

Can something help me how do I apply EEM to identify high CPU consumption?

 

https://www.cisco.com/c/pt_br/support/docs/switches/catalyst-6500-series-switches/116141-trouble-eem-scripts-00.html

 

7876609866877777796987988777697796877767766678888766777678786969798686
6529905965092538325090620941439907720399129938064699582440479143259965
100 ** * *
90 * *** * ** * * * * * * * * * ** *
80 ** *** ** * * * ** **** **** * * ***** ** * * * * ** *
70 **************************** ************ ************* ****** *******
60 **********************************************************************
50 ######################################################################
40 ######################################################################
30 ######################################################################
20 ######################################################################
10 ######################################################################
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

From switch A  post below information :

 

show version

show processes cpu sorted | ex 0.00

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I've already done this, but the process presented is low, and it also reports that it is being affected by a bug in another device model, but it shouldn't be above 80% CPU.

 

https://bst.cloudapps.cisco.com/bugsearch/bug/CSCsi78581?rfs=iqvred

 

switch#show processes cpu sorted | e 0.00
CPU utilization for five seconds: 41%/28%; one minute: 49%; five minutes: 51%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
121 40672710 71039895 572 5.59% 1.85% 1.21% 0 Hulc LED Process
73 178990503 83544041 2142 0.79% 9.67% 12.27% 0 HLFM address lea
101 670 219 3059 0.47% 0.56% 0.15% 1 SSH Process
188 8066270 51998089 155 0.47% 0.25% 0.27% 0 Spanning Tree
60 1679032 157511637 10 0.15% 0.07% 0.08% 0 Fifo Error Detec
130 1076273 604385 1780 0.15% 0.04% 0.01% 0 HQM Stack Proces

 

Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24PC-L 12.2(55)SE12 C2960-LANBASEK9-M

 

I'm recommended version

Hello,

 

EEM is only supported on the Catalyst 2960X/XR (on 15.2(4)E and higher versions), not on the non-X/XR models.

Is there any other way I can identify CPU spikes?

Hello,

 

your best option is an external SNMP host. Below is a link to a list of a few free tools.

 

The configuration of your  switch would look something like this:

 

C2960(config)# process cpu threshold type total rising 80 interval 5 falling 20 interval 5 switch 1
C2960(config)#snmp-server host host_ip_addr
C2960(config)#snmp-server enable traps cpu threshold