< Home

Configuring the Interval of Collecting Traffic Statistics on an Interface

Context

When the NMS obtains interface traffic statistics through the MIB tables iftable and ifxtable, the time for querying interface traffic statistics in real time is long. When the device has a large number of interfaces, the query efficiency of the NMS is low. To resolve this issue, switches can be configured to periodically collect traffic statistics on interfaces. In this case, the NMS can directly obtain traffic statistics collected on interfaces, improving the query efficiency.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run set if-mib sample-interval interval-value

    The interval for collecting traffic statistics on an interface is configured.

    The default period is 60 seconds.

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