< Home

traffic statistics interval

Function

The traffic statistics interval command sets the interval at which the system measures the rates of forwarded and discarded packets in a queue.

The undo traffic statistics interval command restores the default interval.

By default, the system measures the rates of forwarded and discarded packets in a queue at intervals of 300s.

Format

traffic statistics interval time-value

undo traffic statistics interval [ time-value ]

Parameters

Parameter

Description

Value

time-value

Specifies the interval at which the system measures the rates of forwarded and discarded packets in a queue.

The value is an integer that ranges from 30 to 600, in seconds.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a device is managed by a network management system (NMS), the MIB module checks the rates of forwarded and discarded packets in each queue at intervals and sends the rates to the NMS. You can view the rates of forwarded and discarded packets in each queue to analyze network performance or locate faults. The MIB module calculates the average rates forwarded and discarded packets during an interval configured by this command.

Example

# Set the interval at which the system measures the rates of forwarded and discarded packets in a queue to 100s.

<HUAWEI> system-view
[HUAWEI] traffic statistics interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >