Configuration procedure – H3C Technologies H3C MSR 50 User Manual
Page 147

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.
[DeviceA] nqa entry admin test1
[DeviceA-nqa-admin-test1] type http
# Specify the IP address of the HTTP server 10.2.2.2 as the destination IP address.
[DeviceA-nqa-admin-test1-http] destination ip 10.2.2.2
# Configure the HTTP operation to get data from the HTTP server. By default, the HTTP operation type is
get.
[DeviceA-nqa-admin-test1-http] operation get
# Configure the HTTP operation to visit the website /index.htm.
[DeviceA-nqa-admin-test1-http] url /index.htm
# Configure the operation to use HTTP version 1.0. By default, the HTTP version is version 1.0.
[DeviceA-nqa-admin-test1-http] http-version v1.0
# Enable the saving of history records.
[DeviceA-nqa-admin-test1-http] history-record enable
[DeviceA-nqa-admin-test1-http] quit
# Start the HTTP operation.
[DeviceA] nqa schedule admin test1 start-time now lifetime forever
# Stop the HTTP operation after a period of time.
[DeviceA] undo nqa schedule admin test1
# Display the results of the HTTP operation.
[DeviceA] 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
Last succeeded probe time: 2011-11-22 10:12:47.9
Extended results:
Packet loss in test: 0%
Failures due to timeout: 0
Failures due to disconnect: 0
Failures due to no connection: 0
Failures due to sequence error: 0
Failures due to internal error: 0
Failures due to other errors:
Packet(s) arrived late: 0
# Display the history records of the HTTP operation.
[DeviceA] display nqa history admin test1
NQA entry (admin admin, tag test1) history record(s):
134