The cpu-overload-control task enable command enables the OLC function for a monitored task.
The undo cpu-overload-control task enable command disables the OLC function for a monitored task.
By default, the OLC function is disabled for all monitored tasks.
cpu-overload-control task task-name &<1-2> enable slot slot-id
undo cpu-overload-control task task-name &<1-2> enable slot slot-id
Parameter |
Description |
Value |
---|---|---|
task-name |
Specifies a task name. |
The value is of the enumerated type:
Either or both of the preceding task can be selected. |
slot slot-id |
Specifies a slot ID. |
The value must be set according to the device configuration. |
Usage Scenario
By default, the OLC function is enabled for the ACL and ARPA tasks to prevent CPU overload caused by a large amount of CPU-bound service traffic or service attacks. When the service traffic of the ACL or ARPA task is light, you can disable the OLC function for the task.
Precautions
The OLC function configured for a task takes effect only after the OLC function is enabled.