6.19.7 Example for Configuring the SNMP Query Test
Networking Requirements
, SNMP agent is enabled on Switch C. The NQA SNMP query test is
used to measure the time from sending an SNMP query packet to receiving an Echo packet.
Figure 6-9
Networking diagram for configuring the SNMP query test
SwitchA
Ethernet
0/0/1
VLANIF100
10.1.1.1/24
VLANIF100
10.1.1.2/24
VLANIF110
10.2.1.2/24
VLANIF110
10.2.1.1/24
Ethernet
0/0/1
Ethernet
0/0/1
Ethernet
0/0/2
SwitchC
SwitchB
SNMP Agent
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure Switch A as the NQA client.
2.
Create and perform the SNMP query test on Switch A.
3.
Enable SNMP agent on Switch C.
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
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.
317