upload auto
Function
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.
Parameters
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 Guidelines
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.
Example
# Configure the device to automatically upload statistics files to a PM server.
<AC6605> system-view [AC6605] pm [AC6605-pm] pm-server ftpserver [AC6605-pm-server-ftpserver] quit [AC6605-pm] upload-config req1 server ftpserver [AC6605-pm] statistics-task task1 [AC6605-pm-statistics-task1] upload auto req1