< Home

quality-detect-times

Function

The quality-detect-times command sets the number of sampling times for the health check status.

The undo quality-detect-times command restores the default number of sampling times for calculating the health check status.

Format

quality-detect-times time

undo quality-detect-times

Parameters

Parameter Description Value

time

Specifies the number of sampling times for the health check status.

The value is an integer ranging from 1 to 100. The default value is 20.

Views

Health check view

Default Level

2: Configuration level

Usage Guidelines

By default, the device samples the latest 20 consecutive detection results to calculate the health check status.

V600R007C20SPC300 and later versions support this command.

Example

# Set the sampling times of hchk1 to 50 and the detection interval to 5 seconds.

<sysname> system-view
[sysname] healthcheck name hchk1
[sysname-healthcheck-hchk1] quality-detect-times 50
[sysname-healthcheck-hchk1] tx-interval 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >