Tcp Template Configuration Example - HP 5920 Configuration Manual

Table of Contents

Advertisement

[DeviceA-nqatplt-dns-dns] reaction trigger probe-pass 2
# If the number of consecutive probe failures reaches 2, the operation fails. The NQA client notifies the
feature of the operation failure.
[DeviceA-nqatplt-dns-dns] reaction trigger probe-fail 2

TCP template configuration example

Network requirements
As shown in
whether Device A can establish a TCP connection to Device B and process the server's response.
Figure 56 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 to 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 TCP template tcp.
<DeviceA> system-view
[DeviceA] nqa template tcp tcp
# Configure 10.2.2.2 as the destination IP address and port 9000 as the destination port.
[DeviceA-nqatplt-tcp-tcp] destination ip 10.2.2.2
[DeviceA-nqatplt-tcp-tcp] destination port 9000
# If the number of consecutive successful probes reaches 2, the operation succeeds. The NQA
client notifies the feature of the successful operation event.
[DeviceA-nqatplt-tcp-tcp] reaction trigger probe-pass 2
# If the number of consecutive probe failures reaches 2, the operation fails. The NQA client
notifies the feature of the operation failure.
[DeviceA-nqatplt-tcp-tcp] reaction trigger probe-fail 2
Figure
56, configure a TCP template for a feature to perform the TCP operation to test
169

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents