
126
Configuring SNMP tests
SNMP tests of an NQA test group are used to test the time the NQA client takes to send an SNMP packet
to the SNMP agent and receive a response.
Configuration prerequisites
Before you start SNMP tests, enable the SNMP agent function on the device that serves as an SNMP
agent. For more information abut SNMP agent configuration, see the chapter “SNMP configuration.”
Configuring SNMP tests
Follow these steps to configure SNMP tests:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa
entry
admin-name
operation-tag
—
Configure the test type as
SNMP, and enter test type
view
type snmp
Required
Configure the destination
address of SNMP packets
destination ip
ip-address
Required
By default, no destination IP address is
configured.
Specify the source port of
SNMP packets
source port
port-number
Optional
By default, no source port number is specified.
Configure the source IP
address of SNMP packets
source ip
ip-address
Optional
By default, no source IP address is specified.
The source IP address must be the IP address of
a local interface. The local interface must be up;
otherwise, no probe packets can be sent out.
Configure optional
parameters
Optional
Configuring TCP tests
TCP tests of an NQA test group are used to test the TCP connection between the NQA client and a port
on the NQA server and the time for setting up a connection. The test result helps you evaluate the
availability and performance of the services provided by the port on the server.
Configuration prerequisites
TCP tests require cooperation between the NQA server and the NQA client. Before you start TCP tests,
configure a TCP listening service on the NQA server. For more information about the TCP listening
service configuration, see “
Configuring TCP tests
Follow these steps to configure TCP tests: