< Home

Configuring the Traffic Statistics Collection Interval

Context

By setting the traffic statistics collection interval, you can collect and analyze packet statistics. According to traffic statistics, you can take measures to prevent network congestion and service interruption.

  • When congestion occurs, you can set the statistics collection interval on an interface to 300 seconds or less (30 seconds if congestion worsens). Then observe traffic distribution on the interface within a short period of time. Take measures to data packets that cause congestion to control the rate of the packets.

  • When the network bandwidth is sufficient and services are running properly, set the statistics collection interval on an interface to more than 300 seconds. If traffic parameters on an interface are out of the specified range, change the statistics collection interval to observe the traffic statistics in real time.

  • The interval set in the system view takes effect on all the interfaces that use the default interval.

  • The interval set in the interface view takes effect only on this interface.

  • The interval set in the interface view takes precedence over the interval set in the system view.

Procedure

  • Configure the global traffic statistics collection interval in the system view.
    1. Run system-view

      The system view is displayed.

    2. Run set flow-stat interval interval-time

      The global traffic statistics collection interval is set.

      By default, the global traffic statistics collection interval is 300 seconds.

  • Configure the traffic statistics collection interval on an interface.
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The interface view is displayed.

    3. Run set flow-stat interval interval-time

      The traffic statistics collection interval is set on the interface.

      By default, the traffic statistics collection interval on an interface is 300 seconds.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >