Operation Manual – NQA
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 NQA Configuration
1-17
I. Configuration prerequisites
The SNMP agent function must be enabled on the device serving as an SNMP agent.
II. Configuration procedure
Follow these steps to configure the SNMP query test:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the NQA client
nqa-agent enable
Required
Create an NQA test group
and enter its view
nqa
admin-name
operation-tag
—
Set the test type to SNMP
query
test-type snmpquery
Required
Configure a destination
address for a test
destination-ip
ip-address
Required
Configure common
optional parameters
.
Optional
Enable the NQA test
test-enable
Required
View the test results
display nqa results
[
admin-name operation-tag
]
Required
Available in any view.
III. Configuration example
1) Network
requirements
Use the NQA SNMP query function to test the time it takes Switch A to send an SNMP
query packet to the SNMP agent and receive a response packet.
2) Network
diagram
Figure 1-7
Network diagram for the SNMP query test
3) Configuration
procedure
z
Configure Switch B.
# Enable the SNMP agent service and set the SNMP version to
v2c
, the read
community to
public
, and the write community to
private
.
<SwitchB> system-view
[SwitchB] snmp-agent sys-info version v2c