# Enable the NQA client and create a TCP Private test.
<SwitchA>
system-view
[SwitchA]
nqa test-instance admin tcp
[SwitchA-nqa-admin-tcp]
test-type tcp
[SwitchA-nqa-admin-tcp]
destination-address ipv4 10.2.1.2
[SwitchA-nqa-admin-tcp]
destination-port 9000
Step 4
Perform the test.
[SwitchA-nqa-admin-tcp]
start now
Step 5
Verify the test result.
[SwitchA-nqa-admin-tcp]
display nqa results
test-instance
admin tcp
NQA entry(admin, tcp) :testFlag is inactive ,testtype is tcp
1 . Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:success RTD OverThresholds number: 0
Attempts number:1 Drop operation number:0
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors number:0 RTT Stats errors number:0
Destination ip address:10.2.1.2
Min/Max/Average Completion Time: 46/63/52
Sum/Square-Sum Completion Time: 156/8294
Last Good Probe Time: 2006-8-5 15:53:17.8
Lost packet ratio: 0 %
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 100
#
interface Vlanif100
ip address 10.1.1.1 255.255.255.0
#
interface Ethernet0/0/1
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
nqa test-instance admin tcp
test-type tcp
destination-address ipv4 10.2.1.2
destination-port 9000
#
ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
#
return
l
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 100 110
#
interface Vlanif100
ip address 10.1.1.2 255.255.255.0
#
interface Vlanif110
ip address 10.2.1.1 255.255.255.0
#
interface Ethernet0/0/1
port hybrid pvid vlan 100
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
6 NQA Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
320