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.
protocol { ftp | sftp } ip-address ip-address [ port port-number | { net-manager-vpn | vpn-instance vpn-instance-name } ] *
undo protocol
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). |
net-manager-vpn | Indicates the network management VPN. |
- |
vpn-instance vpn-instance-name | Specifies a VPN instance name. |
The value must be an existing VPN instance name. |
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.
If the PM server uses a private IP address, you can use the net-manager-vpn parameter to specify a network management VPN or use the vpn-instance vpn-instance-name parameter to specify a VPN instance to upload a performance statistics file.
Precautions
Using FTP to upload performance statistics files is insecure. Therefore, using SFTP is recommended.