ā09-12-2019 07:56 AM
Hi,
For my testing, I needs to increase my cisco switch CPU utilization to more then 90%. Could someone can help me? what are the possibility ways to increase?
I have tried with "debug all", once i passed the commend, i could not able to establish the connection with switch.
Then if i connect back after few hours i can see CPU utilization 5% last 5min.
I want switch should be stay 90% CPU utilization log time.
Could someone assist me how i can archive this condition?
ā09-12-2019 11:49 AM
ā09-12-2019 12:48 PM
Hi,
What are trying to accomplish with high CPU usage?
You can create loop but connecting 2 ports together and turning of STP but not sure if you can access the switch.
HTH
ā09-12-2019 02:00 PM - edited ā09-12-2019 02:06 PM
Hello
Attach two links between two switches in the same vlan, create L3 svi for that vlan on each switch then disable spanning-tree for that vlan and initiate a ping to the ip address for that vlan, or just have those two same links set as trunks with stp disabled, either way that should do the trick!
ā08-19-2023 10:44 AM
Hi, I also wanted to increase CPU utilization of my cisco switch (Cisco Catalyst C9300) for which I tried disabling STP which did increase CPU utilization to about 40%, however every time it resulted in losing my SNMP connection to which my monitoring tool and switch were connected, hence I am unable to further monitor the switch (for throughput etc). Can you help me out with why it keeps losing connection and how can I maintain it or any other suggestions that you have.
Below is the link for reference for the question I posted. Your help will be much appreciated. TIA.
ā08-19-2023 11:50 AM
Why the new reply here?
". . . I tried disabling STP which did increase CPU utilization to about 40%, however every time it resulted in losing my SNMP connection to which my monitoring tool and switch were connected, hence I am unable to further monitor the switch (for throughput etc). Can you help me out with why it keeps losing connection and how can I maintain it or any other suggestions that you have."
Well, yea, when you push CPU up, control-plane functions, like SNMP, tend to "break".
What are you trying to accomplish?
ā09-13-2019 02:14 AM
ā09-19-2019 11:11 PM
Thanks for the replay.
How we can do STP loop?
ā09-20-2019 03:37 AM
Hello
See my previous post - basically disabling spanning-tree and having dual links interconnected between two switches as trunks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide