R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

37
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.
<RouterA> system-view
[RouterA] nqa entry admin test1
[RouterA-nqa-admin-test1] type http
# Specify the IP address of the HTTP server 10.2.2.2 as the destination IP address.
[RouterA-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.)
[RouterA-nqa-admin-test1-http] operation get
# Configure the HTTP operation to visit the website /index.htm.
[RouterA-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.)
[RouterA-nqa-admin-test1-http] http-version v1.0
# Enable the saving of history records.
[RouterA-nqa-admin-test1-http] history-record enable
[RouterA-nqa-admin-test1-http] quit
# Start the HTTP operation.
[RouterA] nqa schedule admin test1 start-time now lifetime forever
# Stop the HTTP operation after a period of time.
[RouterA] undo nqa schedule admin test1
# Display the results of the HTTP operation.
[RouterA] 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.
[RouterA] display nqa history admin test1