Configuring the http operation, Configuring the udp jitter operation – H3C Technologies H3C MSR 5600 User Manual
Page 28
15
Configuring the HTTP operation
An HTTP operation measures the time for the NQA client 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.
Specify the URL of the
destination HTTP server.
url url
Enter the URL in the format of
http://host/resource.
5.
Specify an HTTP login
username.
username username
By default, no HTTP login username is
specified.
6.
Specify an HTTP login
password.
password { cipher |
simple } password
By default, no HTTP login password is
specified.
7.
(Optional.) Specify the source
IP address of 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, and the
interface must be up. Otherwise, no
request packets can be sent out.
8.
Specify the HTTP operation
type.
operation { get | post |
raw }
By default, the HTTP operation type is get,
which means obtaining data from the HTTP
server.
9.
Specify the HTTP version.
version { v1.0 | v1.1 }
By default, HTTP 1.0 is used.
10.
(Optional.) Enter raw request
view.
raw-request
This command places you to raw request
view and deletes the content of the HTTP
request configured previously.
11.
(Optional.) Specify the
content of a GET request for
the HTTP operation.
Enter or paste the content.
By default, no contents are specified.
This step is required for the raw operation.
12.
Save the input and exit to
HTTP operation view.
quit
N/A
Configuring the UDP jitter operation
CAUTION:
To ensure successful UDP jitter operations and avoid affecting existing services, do not perform the
operations on well-known ports from 1 to 1023.