< Home

firewall defend log-time

Function

The firewall defend log-time command sets the interval between defense logs.

The undo firewall defend log-time command restores the default interval between defense logs.

Format

firewall defend log-time time

undo firewall defend log-time time

Parameters

Parameter Description Value
time Specifies the interval between defense logs. The value is an integer ranging from 1 to 65535, in seconds. By default, the interval between defense logs is 30 seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

A FW sends binary logs to the log server and blacklist logs to the information center in real time. Therefore, no interval needs to be configured for these two kinds of logs. The interval is applicable only to the defense log.

After the ddos-mode command is run to set the DDoS attack defense mode to detect-clean or the firewall defend action command is run to set the single-packet attack defense action to discard, the FW sends attack defense logs (ATK/4/FIREWALLATCK) to the information center at the interval specified in the firewall defend log-time command.

Example

# Set the interval between defense logs to 200 seconds.

<sysname> system-view
[sysname] firewall defend log-time 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >