< Home

firewall exceeded cpu-usage threshold

Function

The firewall exceeded cpu-usage threshold command configures the CPU usage threshold that triggers the interface to be automatically disabled.

The undo firewall exceeded cpu-usage threshold command restores the CPU usage threshold that triggers the interface to be automatically disabled to the default value.

Format

firewall exceeded cpu-usage threshold threshold-value

undo firewall exceeded cpu-usage threshold

Parameters

Parameter Description Value
threshold-value Specifies the CPU usage threshold. The value is an integer ranging from 60 to 100, in percentage (%). The default value is 80.

Views

System view

Default Level

3: Management level

Usage Guidelines

When the CPU usage of the data plane reaches the threshold and keeps this status for 100 seconds, the device automatically disables interfaces in the list of interfaces that shall be automatically disabled and sends alarm ENTEXT_1.3.6.1.4.1.2011.5.25.31.2.0.31 hwEntityExtCPUOverInterfaceDown. To enable the automatic interface disabling function to take effect, you must run the firewall exceeded cpu-usage enable command to enable the function of automatic interface disabling when the CPU usage reaches the threshold. After the CPU usage of the data plane falls below the threshold, disabled interfaces cannot be automatically enabled. Instead, you need to manually enable them.

You can run the firewall exceeded cpu-usage shutdown interface command to configure the list of interfaces that can be automatically disabled.

Example

# Set the CPU usage threshold that triggers the interface to be automatically disabled to 90%.

<sysname> system-view
[sysname] firewall exceeded cpu-usage threshold 90
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >