< Home

cpu-overload-control disable

Function

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.

Format

cpu-overload-control disable slot slot-id

undo cpu-overload-control disable slot slot-id

Parameters

Parameter Description Value

slot slot-id

Specifies a slot ID.

The value must be set according to the device configuration.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Enable the OLC function in slot 0.

<HUAWEI> system-view
[HUAWEI] undo cpu-overload-control disable slot 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >