anti-ddos automatic-defense cpu-usage

Function

The anti-ddos automatic-defense cpu-usage command sets a CPU usage threshold that triggers defense acceleration.

The undo anti-ddos automatic-defense cpu-usage command restores the SPU CPU usage threshold to the default value.

Format

anti-ddos automatic-defense cpu-usage cpu-usage

undo anti-ddos automatic-defense cpu-usage

Parameters

Parameter Description Value
cpu-usage Specifies the SPU CPU usage threshold that triggers defense acceleration. The value is an integer ranging from 70 to 100. The default value is 80.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the SPU CPU usage keeps exceeding the threshold for a specific period (the configured hold-off period), defense acceleration or LPU rate limit starts.

Example

# Set the SPU CPU usage threshold for triggering defense acceleration to 70%.

<sysname> system-view
[sysname] anti-ddos automatic-defense cpu-usage 70
[sysname] anti-ddos automatic-defense enable

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.