3Com Switch 8800 Advanced Software V5 Configuration Guide

1102 CHAPTER 86: NQA CONFIGURATION
Figure 327 Network diagram for the SNMP query test
3 Configuration procedure
Configure Switch 2.
# Enable the SNMP agent service and set the SNMP version to v2c, the read
community to public, and the write community to private.
<Switch> system-view
[Switch] snmp-agent sys-info version v2c
[Switch] snmp-agent community read public
[Switch] snmp-agent community write private
n
SNMP must be enabled on the SNMP agent. Otherwise, no response packet
will be received.
In this example, the configuration is based on the SNMP v2c. If the SNMP of
other versions is enabled, the configuration may be different. For details,
“SNMP Configuration” on page 1049.
Configure Switch 1:
# Enable the NQA client, create an SNMP query test group, and configure related
test parameters.
<Switch> system-view
[Switch] nqa-agent enable
[Switch] nqa admin snmp
[Switch-nqa-admin-snmp] test-type snmpquery
[Switch-nqa-admin-snmp] destination-ip 10.2.2.2
# Enable the SNMP query test.
[Switch-nqa-admin-snmp] test-enable
# View the test results with the display nqa results command.
[Switch-nqa-admin-snmp] display nqa results admin snmp
NQA entry(admin admin, tag snmp) test result:
Destination ip address: 10.2.2.2
Send operation times: 1 Receive response times: 1
Min/Max/Average Round Trip Time: 5/5/5
Square-Sum of Round Trip Time: 25
Last succeeded test time: 2006-06-09 11:19:28.2
Extend result:
Packet lost in test: 0%
Failures due to Timeout: 0
Failures due to System Busy: 0
Failures due to Disconnect: 0
Failures due to No Connection: 0
Failures due to Sequence Error: 0
IP network
NQA client
Switch 2Switch 1
10.1.1.1/8 10.2.2.2/8
SNMP agent