< Home

anti-ddos auto-defend car

Function

The anti-ddos auto-defend car command sets the committed access rate (CAR) for traffic attacks.

The undo anti-ddos auto-defend car command cancels the CAR settings for traffic attacks.

Format

anti-ddos auto-defend car car-value

undo anti-ddos auto-defend car

Parameters

Parameter Description Value
car-value

Specifies the CAR for traffic attacks.

The value can be 0 or an integer ranging from 100 to 1,000,000 in pps. The value 0 indicates that all packets that match the rate limit rule are discarded.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the CAR is not set for traffic attacks.

After the rate of session packets of attack traffic reaches the specified CAR, the device limits the rate of the attack traffic to reduce the CPU usage of the MPU.

Example

# Set the CAR to 1,000pps for attack traffic.
<sysname> system-view
[sysname] anti-ddos auto-defend car 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >