Configuring an http operation – H3C Technologies H3C SecBlade LB Cards User Manual
Page 122
114
Step Command
Remarks
4.
Specify the IP address of the
FTP server as the destination
address of FTP request
packets.
destination ip ip-address
By default, no destination IP address is
configured.
5.
Configure the source IP
address of FTP request
packets.
source ip ip-address
By default, no source IP address is
specified.
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.
6.
Specify the operation type.
operation { get | put }
Optional.
By default, the operation type for the FTP
operation is get, which means obtaining
files from the FTP server.
7.
Configure a login username.
username name
Optional.
By default, no login username is
configured.
8.
Configure a login password.
password [ cipher | simple ]
password
Optional.
By default, no login password is
configured.
9.
Specify the name of a file to
be transferred.
filename file-name
By default, no file is specified.
10.
Set the data transmission
mode.
mode { active | passive }
Optional.
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
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation
and enter NQA operation
view.
nqa entry admin-name
operation-tag
By default, no NQA operation is created.
3.
Specify the HTTP type and
enter its view.
type http
N/A
4.
Configure the IP address of
the HTTP server as the
destination address of HTTP
request packets.
destination ip
ip-address
By default, no destination IP address is
configured.