取消
显示结果 
搜索替代 
您的意思是: 
cancel
5064
查看次数
0
有帮助
8
回复

关于2960CPU高新问题

yu335_sohu_com
Level 1
Level 1
最近新加了几台2960,碰到的问题是CPU使用率很高
JXS2210#show processes cpu sorted | ex 0.0
CPU utilization for five seconds: 29%/3%; one minute: 29%; five minutes: 29%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
239 26535872 46797814 567 9.59% 10.14% 10.15% 0 SISF Switcher Th
240 20899309 48302721 432 8.59% 7.87% 7.84% 0 SISF Main Thread
174 5462503 46826745 116 2.29% 2.08% 2.04% 0 HAYSEL SISF Proc
72 6748687 3139977 2149 1.95% 2.03% 2.04% 0 HaySel LinkState
71 1694399 405924 4174 0.43% 0.50% 0.51% 0 hpm main process
73 980849 313998 3123 0.29% 0.29% 0.29% 0 hpm counter proc
79 960353 7845334 122 0.27% 0.29% 0.29% 0 Haysel LED contr
64 543482 313543 1733 0.19% 0.19% 0.19% 0 AgingTask
=========================================================
JXS2210#show processes cpu history
222222233333222222222222222222222222222222222222222233333222
999999900000999999999999999999998888899999999998888811111888
100
90
80
70
60
50
40
30 **********************************************************
20 **********************************************************
10 **********************************************************
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0
CPU% per second (last 60 seconds)
333333333333333333333333333333333333333333333333333333333323
203001113311001201120026001100122121112111221213124130112392
100
90
80
70
60
50
40 *
30 ##########################################################
20 ##########################################################
10 ##########################################################
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
333333333333333332332322222222222244444444333333333333333333222222222222
622111343452131109109188666656566501101101998877665554531310988666556655
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%
JXS2210#
========================================================================
JXS2210#show spanning-tree root
Root Hello Max Fwd
Vlan Root ID Cost Time Age Dly Root Port
---------------- -------------------- --------- ----- --- --- ------------
VLAN0001 32769 247e.12c5.5700 0 2 20 15
VLAN0003 24579 0008.e3ff.fc04 15 2 20 15 Gi0/24
VLAN0827 25403 0008.e3ff.fc04 15 2 20 15 Gi0/24
VLAN2827 31499 247e.12c5.5700 0 2 20 15
=====================================================================
JXS2210#show spanning-tree detail | i rstp|occur|from|is exec
VLAN0001 is executing the rstp compatible Spanning Tree protocol
Number of topology changes 10 last change occurred 07:03:56 ago
from GigabitEthernet0/3
VLAN0003 is executing the rstp compatible Spanning Tree protocol
Number of topology changes 23 last change occurred 05:50:40 ago
from GigabitEthernet0/24
VLAN0827 is executing the rstp compatible Spanning Tree protocol
Number of topology changes 20 last change occurred 07:03:49 ago
from GigabitEthernet0/24
VLAN2827 is executing the rstp compatible Spanning Tree protocol
Number of topology changes 16 last change occurred 07:04:24 ago
from GigabitEthernet0/3
JXS2210#
=============================================================
JXS2210#dir
Directory of flash:/
257 -rwx 3096 Jun 1 2018 17:31:08 +08:00 multiple-fs
516 drwx 2048 May 25 2023 04:00:15 +08:00 c2960l-universalk9-mz.152-6.E
707 drwx 2048 May 25 2023 04:00:15 +08:00 dc_profile_dir
258 -rwx 676 May 22 2018 15:50:54 +08:00 vlan.dat
837 drwx 2048 Jun 1 2018 17:21:54 +08:00 c2960l-universalk9-mz.152-6.E1
839 -rwx 3943 Jun 1 2018 17:29:38 +08:00 config.text
840 -rwx 1921 Jun 1 2018 17:29:38 +08:00 private-config.text
2 drwx 2048 Mar 1 1993 08:00:02 +08:00 lost+found
244711424 bytes total (200048640 bytes free)
====================================================
IOS已经升级到最新
JXS2210#show ver
Cisco IOS Software, C2960L Software (C2960L-UNIVERSALK9-M), Version 15.2(6)E1, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Tue 06-Mar-18 06:49 by prod_rel_team
ROM: Bootstrap program is C2960L boot loader
BOOTLDR: C2960L Boot Loader (C2960L-HBOOT-M) Version 15.2(5r)E3, RELEASE SOFTWARE (fc2)
JXS2210 uptime is 3 days, 15 hours, 16 minutes
System returned to ROM by power-on
System restarted at 17:30:45 beijing Fri Jun 1 2018
System image file is "flash:/c2960l-universalk9-mz.152-6.E1/c2960l-universalk9-mz.152-6.E1.bin"
Last reload reason: Reload command
8 条回复8

Walter.wu
Spotlight
Spotlight
CPU utilization for five seconds: 29%/3%; one minute: 29%; five minutes: 29%
29而已,很高?????
https://www.cisco.com/c/en/us/support/docs/routers/7500-series-routers/41180-highcpu-processes.html?dtid=osscdc000283
参考下这个经典文档
Cisco CCIE EI /CCNP DC
Vmware VCP
PMP
CISSP

yu335_sohu_com
Level 1
Level 1
是的,有几台2960cpu高,是新上架的。和其他不一样的地方是交换机接入设备是测试设备,接入端口会经常UP和down

Steven2016
Level 1
Level 1
可以先使用clear task 然后再用show task 查看下哪一列过高。如果是L2Tx、INTR、bcmR等任务忙,则说明可能是收到了过多的报文导致的

yu335_sohu_com
Level 1
Level 1
交换机上没有这条命令
JXS2210#show t?
tacacs tcp tech-support template
terminal test_rib_access time-range topology
trace traffic-shape
=====================
下面是CPU使用率
JXS2210#show processes cpu sorted | ex 0.0
CPU utilization for five seconds: 42%/4%; one minute: 40%; five minutes: 40%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
239 40219514 69959032 574 15.52% 14.99% 14.93% 0 SISF Switcher Th
72 9014011 4148094 2173 2.05% 2.09% 2.09% 0 HaySel LinkState

71 2244236 537346 4176 0.45% 0.51% 0.51% 0 hpm main process
79 1322567 10364205 127 0.35% 0.36% 0.35% 0 Haysel LED contr
73 1302673 414810 3140 0.27% 0.29% 0.29% 0 hpm counter proc
64 729351 414175 1760 0.17% 0.18% 0.17% 0 AgingTask

guigeng1
Level 1
Level 1
http://bbs.csc-china.com.cn/forum.php?mod=viewthread&tid=16953
这个应该能解答的你问题。
是POE交换机吗?

guigeng1
Level 1
Level 1

yu335_sohu_com
Level 1
Level 1
不是POE交换机,case没有开过,要怎么做

guigeng1
Level 1
Level 1
yu335@sohu.com 发表于 2018-6-13 08:13
不是POE交换机,case没有开过,要怎么做

我最近搞了一台二手的3560cg-8pc-s
也是这样。CPU高
下面这个是15.2版本的
CPU utilization for five seconds: 17%/0%; one minute: 19%; five minutes: 18%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
162 868930 166066 5232 12.59% 12.48% 12.49% 0 Hulc LED Process
下面是12.2版本的
CPU utilization for five seconds: 17%/1%; one minute: 17%; five minutes: 8%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
138 14124 2695 5240 10.59% 9.07% 3.53% 0 Hulc LED Process
4 1461 82 17817 0.29% 0.49% 0.25% 0 Check heaps
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接