Usage Scenario
Traps are generated no matter whether the NQA test succeeds or fails. You can determine whether traps are sent to the NMS by enabling or disabling the trap function.
The send-trap command can be used to configure conditions for sending a trap message. If the specified conditions are met, the system sends a trap to the NMS.
Prerequisites
Before using the send-trap command, run the test-type command to specify a test type.
Precautions
If parameters need to be changed during the running of the test instance, the system prompts you whether to terminate the test instance. Press "Y" or "N" as required.
- If you press "Y", the test instance is terminated and parameters changed. The settings take effect after being committed. To restart the test instance, run the start command.
- If you press "N", the test instance keeps running, and the parameters fail to be modified.
If the trap function is enabled for multiple test instances, a large number of traps (logs) may be generated, which increases the CPU usage and affects other services.