Ftp Template Configuration Example - HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

# Configure static routes or a routing protocol to make sure the devices can reach each other.
(Details not shown.)
# Configure an SSL client policy named abc on Device A, and make sure Device A can use the policy
to connect to the HTTPS server. (Details not shown.)
# Create HTTPS template test.
<DeviceA> system-view
[DeviceA] nqa template https https
# Specify http://10.2.2.2/index.htm as the URL of the HTTPS server.
[DeviceA-nqatplt-https-https] url https://10.2.2.2/index.htm
# Specify SSL client policy abc for the HTTPS template.
[DeviceA-nqatplt-https-https] ssl-client-policy abc
# Set the HTTPS operation type to get (the default HTTPS operation type).
[DeviceA-nqatplt-https-https] operation get
# Set the HTTPS version to 1.0 (the default HTTPS version).
[DeviceA-nqatplt-https-https] version v1.0
# Configure the NQA client to notify the feature of the successful operation event if the number of
consecutive successful probes reaches 2.
[DeviceA-nqatplt-https-https] reaction trigger probe-pass 2
# Configure the NQA client to notify the feature of the operation failure if the number of consecutive
failed probes reaches 2.
[DeviceA-nqatplt-https-https] 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 58 Network diagram
NQA client
10.1.1.1/16
Device A
Configuration procedure
# Assign IP addresses to interfaces, as shown in
# 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
# Specify the URL of the FTP server.
[DeviceA-nqatplt-ftp-ftp] url ftp://10.2.2.2
# Specify 10.1.1.1 as the source IP address.
[DeviceA-nqatplt-ftp-ftp] source ip 10.1.1.1
Figure
58, configure an FTP template for a feature to perform the FTP operation. The
10.2.2.2/16
IP network
FTP server
Device B
Figure
58. (Details not shown.)
154

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents