< Home

anti-ddos defend-time

Function

The anti-ddos defend-time command sets the delays for enabling and disabling attack defense.

The undo anti-ddos defend-time command restores the delays to default values.

Format

anti-ddos defend-time start-delay start-delay end-delay end-delay

undo anti-ddos defend-time

Parameters

Parameter Description Value
start-delay Delay for enabling attack defense The value is an integer ranging from 1 to 254, in seconds. The default value is 1.
end-delay Delay for disabling attack defense The value is an integer ranging from 1 to 3600, in seconds. The default value is 600.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

If the FW detects abnormal traffic after the specified delay for enabling attack defense (start-delay), the FW enables attack defense.

If traffic becomes normal after the specified delay for disabling attack defense (end-delay), the FW disables attack defense.

Example

# Enable attack defense 5 seconds later after detecting abnormal traffic. Disable attack defense 120 seconds later after traffic becomes normal.

<sysname> system-view
[sysname] anti-ddos defend-time start-delay 5 end-delay 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >