HP VPN Firewall Appliances High Availability Configuration Guide
127
HTTP operation configuration example
Network requirements
As shown in Figure 57, configure an HTTP operation on the NQA client to test the time required to obtain
data from the HTTP server.
Figure 57 Network diagram
Configuration procedure
# Assign each interface an IP address. (Details not shown.)
# Configure static routes or a routing protocol to make sure the devices can reach each other. (Details not
shown.)
# Create an HTTP operation.
<Firewall> system-view
[Firewall] nqa entry admin test1
[Firewall-nqa-admin-test1] type http
# Specify the IP address of the HTTP server 10.2.2.2 as the destination IP address.
[Firewall-nqa-admin-test1-http] destination ip 10.2.2.2
# Configure the HTTP operation to get data from the HTTP server. (The default HTTP operation type is get,
and this step can be omitted.)
[Firewall-nqa-admin-test1-http] operation get
# Configure the HTTP operation to visit the website /index.htm.
[Firewall-nqa-admin-test1-http] url /index.htm
# Configure the operation to use HTTP version 1.0. (Version 1.0 is the default version, and this step can
be omitted.)
[Firewall-nqa-admin-test1-http] http-version v1.0
# Enable the saving of history records.
[Firewall-nqa-admin-test1-http] history-record enable
[Firewall-nqa-admin-test1-http] quit
# Start the HTTP operation.
[Firewall] nqa schedule admin test1 start-time now lifetime forever
# Stop the HTTP operation after a period of time.
[Firewall] undo nqa schedule admin test1
# Display the results of the HTTP operation.
[Firewall] display nqa result admin test1
NQA entry (admin admin, tag test1) test results:
Destination IP address: 10.2.2.2
Send operation times: 1 Receive response times: 1
Min/Max/Average round trip time: 64/64/64
Square-Sum of round trip time: 4096