The upload file command enables the device to upload performance statistics files to a PM server.
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. |
filename |
Specifies the name of a performance statistics file. The file name can contain the file path (absolute path or relative path). If multiple files are specified at the same time, file names are separated using blank spaces. |
The value is a string of 1 to 255 case-insensitive characters, spaces not supported. |
Usage Scenario
The system generates performance statistics files based on the collected performance statistics at a specified interval. To enable the device to upload performance statistics files to a PM server, run the upload file command. A maximum of 16 performance statistics files can be uploaded at a time.
By default, performance statistics files are saved to the path cfcard:/PmData. You can name the performance statistics files in the specified path after running the upload command, or you can specify the path and file name in any path.
Prerequisites
Ensure that the configurations have been complete:
Follow-up Procedure
View the performance statistics on the PM server.
<HUAWEI> system-view [~HUAWEI] pm [~HUAWEI-pm] pm-server a [*HUAWEI-pm-server-a] commit [~HUAWEI-pm-server-a] quit [~HUAWEI-pm] statistics enable [*HUAWEI-pm] upload-config req1 server a [*HUAWEI-pm] upload req1 file a20110422210001.txt