I would like to know if there is a way to prioritize some process over others when CPU usage is close to 100%.
For instance, prioritize BGP or PPP processes so that WAN connectivity is not lost during peak CPU usage.
- That is not supported on CIsco switches. You will need to tackle the problem , if possible or buy more performant hardware (if that is the cause).
Thank you for your reply.
I tried to overload a C1111-8P in my lab by sending a lot of small packets and unfortunately I lost BGP peering with my neighbor.
So it seems that, by default, there is no mechanism to prioritize BGP process. Or, maybe, I push the test too far by sending too much packets...
I will try to play with the command scheduler and see if notice some improvements:
#scheduler ? heapcheck Extra checking to validate memory interval Maximum interval before running lowest priority process max-sched-time Maximum time scheduler can run without flagging an error max-task-time Maximum time that a task can run without flagging an error process-watchdog Action for looping processes run-degraded Continue running as long as possible. runtime Process runtime controls timercheck Extra checking to validate timer
It was on another interface.
BGP peering was using gi0/0/0 interface and traffic was between gi0/1/0 and gi0/1/1 interfaces.