The upload auto command enables a device to automatically upload performance statistics files to a server.
The undo upload auto command disables a device from automatically uploading performance statistics files to a server.
By default, a device does not automatically upload performance statistics files to a server.
Parameter | Description | Value |
---|---|---|
request-name | Specifies the name of a request for uploading performance statistics files to a 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. |
Usage Scenario
The system periodically generates performance statistics files based on the collected performance statistics. To enable the device to automatically upload performance statistics files to the PM server at a specific interval, run the upload auto command.
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.
# Configure the device to automatically upload 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 [HUAWEI-pm] statistics-task task1 [HUAWEI-pm-statistics-task1] upload auto req1