Tcp Operation Configuration Example - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

Index
1
The output shows that it took Device A 50 milliseconds to receive a response from the SNMP
agent.

TCP operation configuration example

Network requirements
As shown in
to establish a TCP connection.
Figure 45 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.
<DeviceB> system-view
[DeviceB] nqa server enable
# Configure a listening service to listen on IP address 10.2.2.2 and TCP port 9000.
[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
# After the TCP operation runs for a period of time, stop the operation.
[DeviceA] undo nqa schedule admin test1
# Display the most recent result of the TCP operation.
[DeviceA] display nqa result admin test1
NQA entry (admin admin, tag test1) test results:
Send operation times: 1
Min/Max/Average round trip time: 13/13/13
Response
50
Figure
45, configure a TCP operation to test the time required for Device A and Device B
Status
Time
Succeeded
2011-11-22 10:24:41.1
Receive response times: 1
147

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents