< Home

interval(NQA view)

Function

The interval command sets the interval at which NQA test packets are sent.

The undo interval command restores the default setting.

Format

interval { seconds interval | milliseconds interval }

undo interval

Parameters

Parameter Description Value
milliseconds interval Sets the interval at which packets are sent to milliseconds.
NOTE:
If the set interval is a multiple of 1000 milliseconds, the system will automatically convert milliseconds into seconds.
It ranges from 10 to 60000.
seconds interval Sets the interval at which packets are sent to seconds. The value is an integer ranging from 1 to 60, in seconds. It ranges from 1 to 60 seconds.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

The default values of interval vary with different test types. The values are as follows:

  • ICMP: 4s
  • TCP: 4s
  • UDP: 4s
  • UDP-jitter: 20 ms

Usage Scenario

In an NQA test instance, multiple probes are sent. Statistics obtained from multiple probe tests show the network quality. Probe packets (or probes) are sent at a specified interval.

  • If the network quality is poor, the interval at which packets are sent must be increased. Otherwise, the network performance may deteriorate.
  • If the network quality is good, the interval at which are sent can be decreased to shorten the waiting time.

Prerequisites

Before running the interval command, run the test-type command to specify the type of a test instance, which may be one of the following:
  • ICMP
  • TCP
  • UDP
  • UDP-jitter

Precautions

The interval for sending packets of a running test instance cannot be changed.

Example

# Set the interval for sending the test packets to 5 seconds.

<sysname> system-view
[sysname] nqa test-instance admin udp
[sysname-nqa-admin-udp] test-type udp
[sysname-nqa-admin-udp] interval seconds 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >