< Home

probe-failtimes

Function

The probe-failtimes command sets the number of continuous probe failures allowed in an NQA test.

The undo probe-failtimes command restores the default setting.

Format

probe-failtimes times

undo probe-failtimes

Parameters

Parameter Description Value
times Specifies the number of continuous probe failures. The value is an integer ranging from 1 to 15. The default value is 1.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The NQA probe test is used to check whether response packets are received in a probe. If the number of continuous probe failures reaches the specified value, the system sends a trap to the specified NMS.

Prerequisites

Before using the probe-failtimes command, run the test-type command to specify the type of a test instance.

Follow-up Procedure

After using the probe-failtimes command, run the send-trap probefailure command to enable the system to send a trap to the NMS after a probe fails. Otherwise, the trap cannot be sent to the NMS after a probe fails.

Precautions

This configuration of the running test instance cannot be changed.

Example

# Set the number of continuous probe failures to 10 in the test named admin jitter.

<sysname> system-view
[sysname] nqa test-instance admin jitter
[sysname-nqa-admin-jitter] test-type jitter
[sysname-nqa-admin-jitter] probe-failtimes 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >