The cpu-overload-control disable command disables the OLC function.
The undo cpu-overload-control disable command enables the OLC function.
By default, the OLC function is enabled.
Parameter | Description | Value |
---|---|---|
slot slot-id |
Specifies a slot ID. |
The value must be set according to the device configuration. |
Usage Scenario
On a complex live network, the CPU may be overloaded if a large amount of service traffic is sent to the CPU or the CPU is attacked by unauthorized services. CPU overload will affect both the device's performance and its ability to process services.
OLC monitors certain CPU-bound protocol packets and tasks. According to the priorities of different services, OLC rate-limits the monitored protocol packets and tasks if the CPU usage exceeds a certain threshold. In this way, OLC not only reduces consumption of CPU resources but also prevents CPU overload from affecting normal processing of other services.
When the service traffic of monitored protocols or tasks on the live network is light and the CPU usage remains stably low, you can disable the OLC function.
Precautions
The OLC function configured for a protocol or task takes effect only after the OLC function is enabled.