< Home

Configuring the Switch to Periodically Report KPI Information to an NMS

Prerequisites

There are reachable routes between a switch and an NMS.

Context

To implement intelligent video O&M, the switch establishes a NETCONF connection with an NMS and periodically reports collected KPI information to the NMS. Therefore, you must configure the switch by enabling the NETCONF function and configuring the IPv4 addresses and port numbers to communication with the NMS, and then enable the switch to report collected KPI information to the NMS.

Procedure

  1. Configure the switch to interconnect with the NMS.

    1. Run the system-view command to enter the system view.
    2. Run the netconf command to enable the NETCONF function and enter the NETCONF view.
    3. Run the source ip ip-address [ port port-number ] command to configure the source IPv4 address and port number for the switch to interconnect with the NMS.
    4. Run the smi-server command to create and enter SMI view.
    5. Run the server ip-address ip-address [ port port-number ] command to configure the IPv4 address and port number of the NMS to interconnect with the switch.
    6. (Optional) Run the keepalive { interval interval | retry-interval retry-interval | retry-number retry-number } * command to configure connection parameters between the switch and NMS.

      By default, the switch and NMS send heartbeat packets to each other at an interval of 5 minutes, the switch reconnects to the NMS at an interval of 5 minutes, and the maximum number of reconnection attempts is 0.

    7. (Optional) Run the max-packet-size size command to set the maximum size of packets sent by the switch to report KPI information to the NMS.

      By default, the maximum size of packets sent by the switch to report KPI information to the NMS is 5 KB.

  2. Configure services to be maintained using different commands according to your networking requirements.

    • Configure the switch to periodically report KPI information to the NMS.
      1. (Optional) Run the report-interval interval command sets the interval at which the switch reports KPI information to the NMS.

        By default, the switch reports KPI information to the NMS at an interval of 1 minute.

      2. Run the collect-item { device-data | fiber-module | poe | user-data | device-status } enable command to enable the switch to report collected information to the NMS.

        By default, the switch does not report any collected information to the NMS.

      3. (Optional) Run the collect-item { device-data | fiber-module | poe | user-data | device-status } interval interval command to set the interval at which the switch collects KPI information.

        By default, the switch collects KPI information at an interval of 5 minutes.

        • When the user-data parameter is specified to enable the switch to report traffic statistics collection of wired users to the NMS, run the statistic enable command in the AAA domain view to enable traffic statistics collection for users in the domain.
        • When the user-data parameter is specified, the device reports information about online users who go online after successful authentication or without authentication. The information about users who go online without authentication includes dynamic MAC addresses learned by the device. To disable the device from reporting dynamic MAC addresses to the NMS, run the collect dynamic mac disable command.
    • Configure the switch to periodically report audio or video data to the NMS.
      1. Run the quit command to exit from the SMI view.
      2. Run the quit command to exit from the NETCONF view.
      3. Run the emdi command to enable the eMDI detection function and enter the eMDI view.
      4. Run the quit command to exit from the eMDI view.
      5. Run the sea command to enable the SEA function for users and applications and enter the SEA view.
      6. Run the rtp-media monitor-type { audio | video } * command to configure the type of media streams to be monitored.
      7. (Optional) Run the rtp-media monitor-period period-value command to set the monitoring period of media streams.

        By default, the monitoring period of media streams is 10 seconds.

      8. Run the quit command to exit from the SEA view.
      9. Run the netconf command to enter the NETCONF view.
      10. Run the smi-server command to create and enter SMI view.
      11. Run the collect-item media-quality enable command to enable the switch to periodically report audio or video data to the NMS.

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