< Home

mib-data optical-module sample-interval

Function

The mib-data optical-module sample-interval command sets the sampling interval for optical module information in the MIB performance module.

The undo mib-data optical-module sample-interval command restores the default setting.

By default, the interval is 30 seconds.

Format

mib-data optical-module sample-interval interval-value

undo mib-data optical-module sample-interval

Parameters

Parameter Description Value

interval-value

Specifies a sampling interval for optical module information in the MIB performance module.

The value is an integer in the range from 10 to 300, in seconds.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

It takes a long time for the NMS to query real-time optical module information on a device using hwOpticalModuleInfoTable in the MIB, especially when the device has a large number of optical modules installed. To solve this problem, you can configure devices to periodically sample optical module information. Then, the NMS can directly obtain sampling information about optical modules, which improves efficiency.

Precautions

  • When you run the mib-data optical-module sample-interval command multiple times, only the latest configuration takes effect.

  • The shorter the sampling interval, the higher the CPU usage.

Example

# Set the sampling interval of optical module information in the MIB performance module to 35 seconds.

<HUAWEI> system-view
[HUAWEI] mib-data optical-module sample-interval 35
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >