< Home

protocol (PM server view)

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.

Format

protocol { ftp | sftp } ip-address ip-address [ port port-number | { net-manager-vpn | vpn-instance vpn-instance-name } ] *

undo protocol

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).

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.

Views

PM server view

Default Level

2: Configuration level

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.

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.

Example

# Configure the device to upload performance statistics files to the SFTP server with the IP address 10.1.1.1.

<HUAWEI> system-view
[HUAWEI] pm
[HUAWEI-pm] pm-server server1
[HUAWEI-pm-server-server1] protocol sftp ip-address 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >