< Home

anti-ddos auto-defend none-session rate

Function

The anti-ddos auto-defend none-session rate command sets the packet loss rate threshold and dynamic rule delivery threshold of dynamic traffic limiting for packet loss-based traffic attack defense.

Format

anti-ddos auto-defend none-session drop-rate drop-rate rule-rate rule-rate

Parameters

Parameter Description Value
drop-rate

Specifies the packet loss rate threshold.

The value is an integer ranging from 50,000 to 10,000,000, in seconds. The default value is 300,000 seconds.
rule-rate

Specifies the dynamic rule delivery threshold.

The value is an integer ranging from 5,000 to 5,000,000 in pps. The default value is 100,000.

Views

System view

Default Level

3: Management level

Usage Guidelines

If dynamic traffic limiting for packet loss-based traffic attack defense is enabled and the system packet loss rate reaches the specified drop-rate, sampling is performed on lost packets, and the rate of each flow is calculated based on the sampling result. If the traffic rate reaches the specified rule-rate, traffic limiting is performed on attack traffic based on the CAR value configured with the anti-ddos auto-defend car car-value command to reduce the MPU CPU usage.

Example

# Set the packet loss rate threshold to 500,000 pps and dynamic rule delivery threshold to 300,000 pps for dynamic traffic limiting for packet loss-based traffic attack defense.

<sysname> system-view
[sysname] anti-ddos auto-defend none-session drop-rate 500000 rule-rate 300000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >