The collect-item interval command sets the interval at which the switch collects KPI information.
The undo collect-item interval command restores the default interval at which the switch collects KPI information.
By default, the switch collects KPI information at an interval of 5 minutes.
collect-item { device-data | fiber-module | poe | user-data | device-status } interval interval
undo collect-item { device-data | fiber-module | poe | user-data | device-status } interval
Parameter | Description | Value |
---|---|---|
device-data | Enables the switch to report device data to CampusInsight. | - |
fiber-module | Enables the switch to report optical module information to CampusInsight. | - |
poe | Enables the switch to report PoE data to CampusInsight. | - |
user-data | Enables the switch to report traffic statistics collection of wired users to CampusInsight. | - |
device-status | Enables the switch to report device status information to CampusInsight. | - |
interval interval | Specifies the interval at which the switch collects KPI information. | The value is an integer in the range from 1 to 1440, in minutes. |
Based on your networking requirements, you can set the interval at which the switch collects KPI information. For details about the information that can be collected, see KPI Information That Switches Can Send to an NMS.
# Enable the switch to report optical module information to the CampusInsight and set the interval at which the switch collects such information to 3 minutes.
<HUAWEI> system-view [HUAWEI] netconf [HUAWEI-netconf] smi-server [HUAWEI-netconf-smi-server] collect-item fiber-module enable [HUAWEI-netconf-smi-server] collect-item fiber-module interval 3