171
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
# 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
# Configure the device to upload file
config.txt
to the FTP server.
[DeviceA-nqatplt-ftp-ftp] operation put
[DeviceA-nqatplt-ftp-ftp] filename config.txt
# Specify the username for the FTP server login as
admin
.
[DeviceA-nqatplt-ftp-ftp] username admin
# Specify the password for the FTP server login as
systemtest
.
[DeviceA-nqatplt-ftp-ftp] password simple systemtest
# 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-ftp-ftp] 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-ftp-ftp] reaction trigger probe-fail 2
Summary of Contents for 5920
Page 86: ...76 XGE1 0 2 N A P2P Two 0 ...