The send-trap command configures conditions for sending a trap message in an NQA VPLS PW ping test.
The undo send-trap command deletes the configured conditions for sending a trap message.
By default, no trap messages are sent in any condition.
Parameter | Description | Value |
---|---|---|
all |
Indicates that trap messages are sent in any of the following situations. |
- |
rtd |
Indicates that a trap message is sent if the RTD reaches the specified threshold. |
- |
testfailure |
Indicates that a trap message is sent if a test fails. |
- |
probefailure |
Indicates that a trap message is sent if a probe attempt fails. |
- |
testcomplete |
Indicates that a trap message is sent after a test is complete. |
- |
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.