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.

Before you start SNMP tests, enable the SNMP agent function on the device that serves as an SNMP agent. For more information about SNMP agent configuration, see "."

To configure SNMP tests:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter NQA test group view.

nqa entry admin-name operation-tag

N/A

3. Configure the test type as SNMP, and enter test type view.

type snmp

N/A

4. Configure the destination address of SNMP packets.

destination ip ip-address

By default, no destination IP address is configured.

5. Specify the source port of SNMP packets.

source port port-number

Optional.

By default, no source port number is specified.

6. 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.

7. Configure optional parameters.

See ""

Optional.