anti-ddos interface-limit cpu-usage

Function

The anti-ddos interface-limit cpu-usage command sets the SPU CPU usage threshold that triggers LPU rate limit.

The anti-ddos interface-limit start-delay command sets the delay time before enabling and disabling LPU rate limit when the CPU usage reaches the alarm threshold.

Format

anti-ddos interface-limit { cpu-usage cpu-usage | start-delay start-delay end-delay delay-time }

Parameters

Parameter Description Value
cpu-usage Specifies the SPU CPU usage threshold that triggers LPU rate limit. The value is an integer ranging from 25 to 100. The default value is 80.
start-delay Specifies the delay time before enabling LPU rate limit when the CPU usage reaches the alarm threshold. The value is an integer ranging from 1 to 254, in seconds. The default value is 5 seconds.
delay-time Specifies the delay time before disabling LPU rate limit when the CPU usage falls below the alarm threshold. The value is an integer ranging from 1 to 3600, in seconds. The default value is 1800 seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Only the AntiDDoS8000 supports this command.

Example

# Set parameters of LPU rate limit.

<sysname> system-view
[sysname] anti-ddos interface-limit enable
[sysname] anti-ddos interface-limit cpu-usage 60
[sysname] anti-ddos interface-limit start-delay 10 end-delay 3600

Copyright © Huawei Technologies Co., Ltd.