The test-failtimes command sets the number of consecutive test failures in an NQA test.
The undo test-failtimes command restores the default setting.
By default, a trap message is sent for each test failure.
Parameter | Description | Value |
---|---|---|
times |
Specifies the number of consecutive test failures in an NQA test. |
The value is an integer that ranges from 1 to 15. The default value is 1. |
Usage Scenario
An NQA test consists of multiple probe tests. By default, if one or more probe tests are successful in an NQA test, the test is considered successful. If all probe tests fail, the test is considered failed. If the number of consecutive test failures reaches the specified value, the system will send a trap to the specified NMS.
Prerequisites
The type of a test instance has been specified using the test-type command. Path jitter test is not supported.
Follow-up Procedure
Run the send-trap testfailure command to send a trap to the NMS after an NQA test fails. Otherwise, the trap cannot be sent to the NMS after an NQA test fails.
Precautions
This configuration of a running test instance cannot be changed.