
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 the NQA server on Switch C.
# Configure the IP address and UDP port number monitored by the NQA server.
<SwitchC>
system-view
[SwitchC]
nqa-server udpecho 10.2.1.2 6000
Step 3
# Configure Switch A.
# Enable the NQA client and create a UDP Public test.
<SwitchA>
system-view
[SwitchA]
nqa test-instance admin udp
[SwitchA-nqa-admin-udp]
test-type udp
[SwitchA-nqa-admin-udp]
destination-address ipv4 10.2.1.2
[SwitchA-nqa-admin-udp]
destination-port 6000
Step 4
Perform the test.
[SwitchA-nqa-admin-udp]
start now
Step 5
Verify the test result.
[SwitchA-nqa-admin-udp]
display nqa results
test-instance
admin udp
NQA entry(admin, udp) :testflag is inactive ,testtype is udp
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: 32/109/67
Sum/Square-Sum Completion Time: 203/16749
Last Good Probe Time: 2006-8-5 16:9:21.6
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 GigabitEthernet0/0/1
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
nqa test-instance admin udp
test-type udp
destination-address ipv4 10.2.1.2
destination-port 6000
#
ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
#
return
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management
6 NQA Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
352