< Home

upload

Function

The upload command configures the device to upload performance statistics files to a PM server.

Format

upload request-name file filename &<1-16>

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.

file filename

Specifies the name of a performance statistics file.

The value is a string of 1 to 255 case-insensitive characters without spaces.

The file name can contain the file path. If multiple files are specified, separate them with spaces.

Views

PM view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

The system periodically generates performance statistics files based on the collected performance statistics. You can manually upload the statistics files to a PM server.

Prerequisites

A request for uploading performance statistics files to the PM server has been created using the upload-config request-name server server-name command.

Follow-up Procedure

View the performance statistics on the PM server.

Example

# Configure the device to upload performance statistics file to the PM server.

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