Tcp Operation Configuration Example - HP 5920 Configuration Manual

Table of Contents

Advertisement

Failures due to timeout: 0
Failures due to internal error: 0
Failures due to other errors: 0
# Display the history records of the SNMP operation.
[DeviceA] display nqa history admin test1
NQA entry (admin admin, tag test1) history records:
Index
1
The output shows that Device A uses 50 milliseconds to receive a response from the SNMP agent.

TCP operation configuration example

Network requirements
As shown in
connection to the NQA server on Device B.
Figure 48 Network diagram
Configuration procedure
1.
Assign each interface an IP address. (Details not shown.)
2.
Configure static routes or a routing protocol to make sure the devices can reach each other.
(Details not shown.)
3.
Configure Device B:
# Enable the NQA server, and configure a listening service to listen on the IP address 10.2.2.2
and TCP port 9000.
<DeviceB> system-view
[DeviceB] nqa server enable
[DeviceB] nqa server tcp-connect 10.2.2.2 9000
4.
Configure Device A:
# Create a TCP operation.
<DeviceA> system-view
[DeviceA] nqa entry admin test1
[DeviceA-nqa-admin-test1] type tcp
# Configure 10.2.2.2 as the destination IP address and port 9000 as the destination port.
[DeviceA-nqa-admin-test1-tcp] destination ip 10.2.2.2
[DeviceA-nqa-admin-test1-tcp] destination port 9000
# Enable the saving of history records.
[DeviceA-nqa-admin-test1-tcp] history-record enable
[DeviceA-nqa-admin-test1-tcp] quit
# Start the TCP operation.
[DeviceA] nqa schedule admin test1 start-time now lifetime forever
Response
50
Figure
48, configure a TCP operation to test the time the NQA client uses to establish a TCP
Status
Time
Succeeded
2011-11-22 10:24:41.1
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents