Configuring an http operation – H3C Technologies H3C MSR 50 User Manual
Page 125

Step Command
Remarks
277.
Enter system view.
system-view
N/A
278.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name
operation-tag
By default, no NQA operation is
created.
279.
Specify the FTP type and enter
its view.
type ftp
N/A
280.
Specify the IP address of the
FTP server as the destination
address of FTP request
packets.
By default, no destination IP
address is configured.
destination ip ip-address
By default, no source IP address is
specified.
281.
Configure the source IP
address of FTP request
packets.
The source IP address must be the
IP address of a local interface. The
local interface must be up.
Otherwise, no FTP requests can be
sent out.
source ip ip-address
Optional.
By default, the operation type for
the FTP operation is get, which
means obtaining files from the FTP
server.
282.
Specify the operation type.
operation { get | put }
Optional.
283.
Configure a login username.
username name
By default, no login username is
configured.
Optional.
password [ cipher | simple ]
password
284.
Configure a login password.
By default, no login password is
configured.
285.
Specify the name of a file to
be transferred.
filename file-name
By default, no file is specified.
Optional.
286.
Set the data transmission
mode.
mode { active | passive }
active by default.
Configuring an HTTP operation
An HTTP operation measures the time the NQA client uses to obtain data from an HTTP server.
The TCP port number of the HTTP server must be 80. Otherwise, the HTTP operation fails.
To configure an HTTP operation:
Step Command
Remarks
287.
Enter system view.
system-view
N/A
288.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name
operation-tag
By default, no NQA operation is
created.
112