< Home

anti-ddos flow-statistic enable

Function

The anti-ddos flow-statistic enable command enables the FW to collect traffic statistics.

The undo anti-ddos flow-statistic enable command disables the FW from collecting traffic statistics.

Format

anti-ddos flow-statistic enable

undo anti-ddos flow-statistic enable

Parameters

None

Views

Ethernet interface view, Ethernet sub-interface view, Layer-2 Ethernet interface view, Layer-2 Ethernet sub-interface view, Eth-Trunk interface view, Layer-2 Eth-Trunk interface view, Eth-Trunk sub-interface view, Layer-2 Eth-Trunk sub-interface view, Virtual interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the interface-based traffic statistics function is disabled. You need to enable it when configuring the anti-DDoS function.

Example

# Enable the traffic statistics function on GigabitEthernet 0/0/1.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] anti-ddos flow-statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >