(Optional) Uploading Performance Statistics Files

The system generates performance statistics files based on the collected performance statistics at a specified interval. To view the performance statistics on a performance management (PM) server, upload performance statistics files to the PM server.

Context

Before uploading performance statistics files to a PM server, configure the File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP) server functionality on the PM server, and ensure that the device on which the performance statistics are collected has been connected to the PM server.

Perform the following steps on the device:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pm

    The PM view is displayed.

  3. Run pm-server server-name

    A process serving the PM server is created, and the PM server view is displayed.

  4. Run the following commands to configure parameters of the PM server to which a performance statistics file will be uploaded.

    • To configure the protocol and IP address to upload a performance statistics file to the PM server, run the protocol { ftp | sftp } ip-address ip-address [ port port-number | { net-manager-vpn | vpn-instance vpn-instance-name } ] * command.

      Using FTP to upload performance statistics files is not secure. Therefore, using SFTP is recommended.

      If the IP address of the PM server is a private address, use net-manager-vpn to specify a network management VPN for performance statistics file uploading or use vpn-instance vpn-instance-name to specify a VPN instance for performance statistics file uploading.

    • To configure a user name and password for logging in to the PM server, run the username user-name password password command.
    • To configure the destination path where a performance statistics file is saved on the PM server, run the path destination-path command.
    • To configure the number of retransmissions for a performance statistics file, run the retry retry-times command.

  5. Run quit

    Return to the PM view.

  6. Run upload-config request-name server server-name

    A request for uploading performance statistics files to a specified PM server is created.

  7. (Optional) Run statistics-task task-name

    The performance statistics task view is displayed.

  8. (Optional) Run upload auto request-name

    The device is enabled to automatically upload performance statistics files to the PM server.

    To enable the device to automatically upload performance statistics files to the PM server at performance statistics file generation intervals, perform this configuration.

  9. Run commit

    The configuration is committed.

Follow-up Procedure

Run the upload request-name file filename &<1-16> command to enable the device to upload performance statistics files to the PM server.

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