Configuring the Trap Function
A device generates traps no matter whether the NQA test succeeds or fails. You can enable or disable the trap function to determine whether the device sends traps to the NMS.
Context
NQA supports three types of traps as defined in DISMAN-PING-MIB. NQA also supports the sending of traps to the NMS when the two-way transmission delay exceeds the threshold.
- For all test instances, if the two-way transmission delay exceeds the threshold and the trap function is enabled, traps are sent to the NMS with the specified IP address.
Traps carry the following information: destination IP addresses, operating status, destination IP address of the test packet, minimum RTT, maximum RTT, total RTT, number of sent probe packets, number of received packets, RTT square sum, and time of the latest successful probe.
Pre-configuration Tasks
Before configuring the trap function of the NQA test, complete the following tasks:
- Configuring reachable routes between the NQA client and the NMS
- Creating the NQA test instance and configuring related parameters
Configuration Process
The following configuration is a supplement to NQA tests. All configurations are optional.
The configurations take effect after the NQA alarm function is enabled.
Perform the following configurations on the NQA client.
- Configuring the NQA Client to Send Traps When a Test Fails
- Configuring the NQA Client to Send Traps When a Probe Fails
- Configuring the NQA Client to Send Traps After a Probe Succeeds
- Configuring the NQA Client to Send Traps When the Transmission
Delay Exceeds the Threshold
- Checking the Configuration