Tcp Template Configuration Example; Http Template Configuration Example - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

TCP template configuration example

Network requirements
As shown in
operation tests whether Device A can establish a TCP connection to Device B.
Figure 23 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 to the 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 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

HTTP template configuration example

Network requirements
As shown in
operation tests whether the NQA client can get data from the HTTP server.
Figure
23, configure a TCP template for a feature to perform the TCP operation. The
Figure
24, configure an HTTP template for a feature to perform the HTTP operation. The
62

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents