
[SwitchB-aaa]
local-user user1 password cipher hello
[SwitchB-aaa]
local-user user1 service-type ftp
[SwitchB-aaa]
local-user user1 ftp-directory cfcard:
[SwitchB-aaa]
quit
Step 3
Configure an NQA FTP test on Switch A.
<SwitchA>
system-view
[SwitchA]
nqa test-instance admin ftp
[SwitchA-nqa-admin-ftp]
test-type ftp
[SwitchA-nqa-admin-ftp]
destination-address ipv4 10.1.1.2
[SwitchA-nqa-admin-ftp]
source-address ipv4 10.1.1.1
[SwitchA-nqa-admin-ftp]
ftp-operation get
[SwitchA-nqa-admin-ftp]
ftp-username user1
[SwitchA-nqa-admin-ftp]
ftp-password hello
[SwitchA-nqa-admin-ftp]
ftp-filename test.txt
Step 4
Perform the test.
[SwitchA-nqa-admin-ftp]
start now
Step 5
Verify the test result.
[SwitchA-nqa-admin-ftp]
display nqa results
test-instance
admin ftp
NQA entry(admin, ftp) :testflag is inactive ,testtype is ftp
1 . Test 1 result The test is finished
SendProbe:1 ResponseProb:1
Completion :success RTD OverThresholds number: 0
MessageBodyOctetsSum: 448 Stats errors number: 0
Operation timeout number: 0 System busy operation number:0
Drop operation number:0 Disconnect operation number: 0
CtrlConnTime Min/Max/Average: 438/438/438
DataConnTime Min/Max/Average: 218/218/218
SumTime Min/Max/Average: 656/656/656
Average RTT:0
Lost packet ratio:0 %
----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.1.1.2
source-address ipv4 10.1.1.1
ftp-operation get
ftp-filename test.txt
ftp-username user1
ftp-password hello
#
return
l
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10
6 NQA Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
6-144
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)