< Home

set flow-stat interval

Function

The set flow-stat interval command sets the interval for collecting the statistics of the flow.

The undo set flow-stat interval command restores the interval for collecting the statistics of the flow to the default value.

Format

set flow-stat interval interval

undo set flow-stat interval

Parameters

Parameter Description Value

interval

Specifies the interval for collecting the statistics of the flow.

The value is an integer ranging from 30 to 300, in seconds.

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, Loopback interface view, Tunnel interface view, VLANIF interface view, Virtual-Template interface view, Dialer interface view, system view

Default Level

2: Configuration level

Usage Guidelines

By default, the interval for collecting the statistics of the flow is 300 seconds.

After a physical interface is added to an Eth-trunk interface, the traffic statistics collection interval is subject to the Eth-trunk interface, and the interval configured on the physical interface does not take effect.

Example

# Set the interval for collecting the statistics of the GigabitEthernet 0/0/1 flow to 120 seconds.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet0/0/1] set flow-stat interval 120
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >