![Huawei Quidway S9300 Configuration Manual - Network Management Download Page 374](http://html.mh-extra.com/html/huawei/quidway-s9300/quidway-s9300_configuration-manual-network-management_169487374.webp)
Data Preparation
To complete the configuration, you need the following data:
l
Host address of the SNMP agent
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
Enable SNMP agent on Switch C.
<SwitchC>
system-view
[SwitchC]
snmp-agent
Step 3
Create an SNMP query test on Switch A.
<SwitchA>
system-view
[SwitchA]
nqa test-instance admin snmp
[SwitchA-nqa-admin-snmp]
test-type snmp
[SwitchA-nqa-admin-snmp]
destination-address ipv4 10.2.1.2
Step 4
Perform the test.
[SwitchA-nqa-admin-snmp]
start now
Step 5
Verify the test result.
[SwitchA-nqa-admin-snmp]
display nqa results
test-instance
admin snmp
NQA entry(admin, snmp) :testflag is inactive ,testtype is snmp
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: 63/172/109
Sum/Square-Sum Completion Time: 329/42389
Last Good Probe Time: 2006-8-5 15:33:49.1
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 GigabitEthernet1/0/0
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
nqa test-instance admin snmp
test-type snmp
destination-address ipv4 10.2.1.2
#
ip route-static 10.2.1.0 255.255.255.0 10.1.1.2
6 NQA Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
6-154
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)