protocol
Function
The protocol command configures the parameters for connecting to a PM server.
The undo protocol command deletes the parameters for connecting to a PM server.
By default, no PM server connection parameter is configured.
Parameters
Parameter | Description | Value |
---|---|---|
ftp | Uses the FTP protocol to upload performance statistics files. | - |
sftp | Uses the SFTP protocol to upload performance statistics files. | - |
ip-address ip-address | Specifies the IP address of the PM server. | The value is in dotted decimal notation. |
port port-number | Specifies the port number. |
The value is an integer that ranges from 1 to 65535. The default port number is 21 (using FTP) or 22 (using SFTP). |
Usage Guidelines
Usage Scenario
To upload statistics files to a PM server, use this command to configure connection parameters, including the transfer protocol, IP address, and port number of the PM server.
Precautions
Using FTP to upload performance statistics files is insecure. Therefore, using SFTP is recommended.