< Home

probe-failtimes

Function

The probe-failtimes command sets the threshold for the number of traps to be sent when the NQA test fails. That is, test packet fragmentation is not allowed.

The undo probe-failtimes command restores the default threshold for the number of traps to be sent when the NQA test fails.

By default, one trap is sent for each probe failure.

Format

probe-failtimes times

undo probe-failtimes

Parameters

Parameter Description Value

times

Specifies the threshold for the number of traps to be sent when the NQA test fails, that is, the number of continuous probe failures.

The value is an integer that ranges 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

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 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 a running test instance cannot be changed.

If the test instance does not support probe-count, you are advised to set probe-failtimes to 1; otherwise, traps cannot be sent.

If the test instance supports probe-count, you are advised to set probe-failtimes to be smaller or equivalent to probe-count; otherwise, traps cannot be sent.

Example

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

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