The fail-percent command sets the percentage of the number of failed probes in a test instance to the total number of probes. If the set percentage expires, the test is considered a failure.
The undo fail-percent command restores the setting.
| Parameter | Description | Value |
|---|---|---|
| percent | Specifies the percent of failed probes. | The value is an integer ranging from 1 to 100. By default, the failure percentage is 100%. That is, the test is regarded as a failure only when all the probes fail. |
Usage Scenario
In an NQA test instance, multiple probes are sent to test probe packets. Statistics obtained from multiple probe tests show the network quality.
In actual scenarios, however, a probe test may fail because of interference in the network. In addition, a failure in a probe test does not mean that the NQA test fails. The undo fail-percent command can be used to set failure percentage to check whether an NQA test fails or not. If the number of failure probe packets to the total number of probe packets reaches a specified percentage, the NQA test is considered as a failure.
Prerequisites
Before using the fail-percent, run the test-type to specify the type of a test instance, but the failure percentage cannot be set for an FTP, an UDP-tracert, or a DNS test instance.
Precautions
The failure percentage of a running test instance cannot be changed.