#
return
6.27.7 Example for Configuring the SNMP Query Test
Networking Requirements
As shown in Figure 6-9, 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
GE0/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
GE0/0/1 GE0/0/1GE0/0/2
SwitchCSwitchB
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
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.
347