![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 366](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487366.webp)
Procedure
Step 1
Configure reachable routes between Switch A and Switch B, between Switch A and Switch C,
and between Switch B and Switch C. The configuration details are not mentioned here.
Step 2
Configure Switch C as the FTP server.
<SwitchC>
system-view
[SwitchC]
ftp-server enable
[SwitchC]
aaa
[SwitchC-aaa]
local-user user1 password cipher hello
[SwitchC-aaa]
local-user user1 service-type ftp
[SwitchC-aaa]
local-user user1 ftp-directory cfcard:
[SwitchC-aaa]
quit
Step 3
Configure an NQA FTP test on Switch A and create a file of 10K bytes for uploading.
<SwitchA>
system-view
[SwitchA]
nqa test-instance admin ftp
[SwitchA-nqa-admin-ftp]
test-type ftp
[SwitchA-nqa-admin-ftp]
destination-address ipv4 10.2.1.2
[SwitchA-nqa-admin-ftp]
source-address ipv4 10.1.1.1
[SwitchA-nqa-admin-ftp]
ftp-operation put
[SwitchA-nqa-admin-ftp]
ftp-username user1
[SwitchA-nqa-admin-ftp]
ftp-password hello
[SwitchA-nqa-admin-ftp]
ftp-filename nqa-ftp-test.txt
[SwitchA-nqa-admin-ftp]
ftp-filesize 10
Step 4
Perform the test.
[SwitchA-nqa-admin-ftp]
start now
Step 5
Verify the test result.
# Verify the NQA test result on Switch A.
# On Switch C, you can see that a file named
nqa-ftp-test.txt
is added.
<SwitchC>
dir
Directory of cfcard:
0 -rw- 331 Feb 06 2009 18:34:34 private-data.txt
1 -rw- 10240 Feb 06 2009 18:37:06 nqa-ftp-test.txt
506,744 KB total (496173 KB free)
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
nqa test-instance admin ftp
test-type ftp
destination-address ipv4 10.2.1.2
source-address ipv4 10.1.1.1
ftp-operation put
ftp-filesize 10
6 NQA Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
6-146
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)