Operation Manual – NQA
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 NQA Configuration
1-18
[SwitchB] snmp-agent community read public
[SwitchB] snmp-agent community write private
Note:
z
SNMP must be enabled on the SNMP agent. Otherwise, no response packet will be
received.
z
In this example, the configuration is based on the SNMPv2c. If the SNMP of other
versions is enabled, the configuration may be different. For details, refer to the
SNMP-RMON Configuration
part of this manual
.
z
Configure Switch A:
# Enable the NQA client, create an SNMP query test group, and configure related test
parameters.
<SwitchA> system-view
[SwitchA] nqa-agent enable
[SwitchA] nqa admin snmp
[SwitchA-nqa-admin-snmp] test-type snmpquery
[SwitchA-nqa-admin-snmp] destination-ip 10.2.2.2
# Enable the SNMP query test.
[SwitchA-nqa-admin-snmp] test-enable
# View the test results with the
display nqa results
command.
[SwitchA-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
Failures due to Internal Error: 0
Failures due to Other Errors: 0