Ftp Template Configuration Example - H3C SR6600-X Configuration Manual

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

Advertisement

Figure 24 Network diagram
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 HTTP template http.
<DeviceA> system-view
[DeviceA] nqa template http http
# Specify the URL of the server.
[DeviceA-nqatplt-http-http] url http://10.2.2.2/index.htm
# Configure the HTTP operation to get data from the HTTP server.
[DeviceA-nqatplt-http-http] operation get
# 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-http-http] 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-http-http] reaction trigger probe-fail 2

FTP template configuration example

Network requirements
As shown in
operation tests whether Device A can upload a file to the FTP server. The login username and password
are admin and systemtest, respectively. The file to be transferred to the FTP server is config.txt.
Figure 25 Network diagram
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 FTP template ftp.
<DeviceA> system-view
[DeviceA] nqa template ftp ftp
Figure
25, configure an FTP template for a feature to perform the FTP operation. The
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents