< Home

upload-config

Function

The upload-config command creates a request for uploading performance statistics files to a specified PM server.

The undo upload-config command deletes a request for uploading performance statistics files to a specified PM server.

By default, no request for uploading performance statistics files is available on a device.

Format

upload-config request-name server server-name

undo upload-config request-name

Parameters

Parameter Description Value
request-name Specifies the name of a request for uploading performance statistics files.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string contains letters, digits, and underscores (_), and must start with letters or digits.

server server-name Specifies the name of the process serving the PM server.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The string contains letters, digits, and underscores (_), and must start with letters or digits.

Views

PM view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To enable a device to upload performance statistics files to a PM server, run the upload-config command to create a file uploading request.

Prerequisites

A PM server process has been created using the pm-server server-name command.

Follow-up Procedure

Enable the device to upload performance statistics files to the PM server.

  • Run the upload request-name file filename &<1-16> command in the PM view to manually upload statistics files to the PM server.

  • Run the upload auto request-name command in the performance statistics collection task view to configure the device to automatically upload statistics files to the PM server.

Example

# Create a request for uploading statistics files to a PM server.

<HUAWEI> system-view
[HUAWEI] pm
[HUAWEI-pm] pm-server ftpserver
[HUAWEI-pm-server-ftpserver] quit
[HUAWEI-pm] upload-config req1 server ftpserver
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >