< Home

timeout

Function

The timeout command sets the timeout period of the NQA test.

The undo timeout command restores the default setting.

Format

timeout time

undo timeout

Parameters

Parameter Description Value
time Specifies the timeout period of probe packets. The value is an integer ranging from 1 to 60, in seconds.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

By default, the timeout period of all the tests excluding DHCP and FTP tests is 3 seconds. The timeout period of DHCP and FTP tests is 15 seconds.

Usage Scenario

Timeout period refers to the interval at which response packets are received after probe packets are sent. If no response packet is received after the timeout period expires, the NQA test fails. The timeout period is set differently based on different networks. If the value is too small, the NQA test instance may fail.

On a network with the poor quality and slow transmission rate, to ensure that NQA probe packets can be replied to, you need to increase the timeout period of probe packets. The timeout period of an NQA test instance refers to the period for waiting for Response packets after probe packets are sent.

Prerequisites

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

Precautions

  • Configuring the timeout period based on the RTT value from the test result is recommended. Ensure that the timeout period set in the timeout command is greater than the RTT value.
  • The timeout period set using the timeout command must not be greater than the interval set using the interval command for automatically performing an NQA test. Otherwise, probe packets will time out.
  • In a DHCP test instance, packets are sent at random within 1-10 seconds. If the timeout period is shorter than 10 seconds, some or all probe packets will time out. The default timeout period set for a DHCP test instance is 15 seconds.
  • In a hardware-based jitter test, if the interval command sets a value greater than or equal to 1 second. The test results depend on the number of sent test packets, interval, and timeout. If many test packets are sent and the timeout value is small, the test ends before all packets are sent, which causing some packets to be dropped.

Precautions

The timeout period of a running test instance cannot be changed.

In an ICMP test instance, if the following conditions are met, the Completion field in the test results will be displayed as no result:
  • The system CPU usage exceeds 90% and the configured timeout period is less than 6s.
  • frequency configured ≤ (probe-count - 1) x interval + 6.

Example

# Set the timeout period of the test named admin http to 60 seconds.

<sysname> system-view
[sysname] nqa test-instance admin http
[sysname-nqa-admin-http] test-type http
[sysname-nqa-admin-http] timeout 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >