< 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.

By default, the intervals for sending test packets in various tests are as follows:

  • For UDP Jitter, Path Jitter, and ICMP Jitter test instance, the interval is 50 milliseconds on the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S and is 100 milliseconds for other devices.
  • The interval is 4 seconds for other test instances.

Format

interval { milliseconds interval | seconds interval }

undo interval

Parameters

Parameter Description Value
milliseconds interval Sets the interval at which packets are sent, in milliseconds.
NOTE:

If the configured interval is a multiple of 1000 milliseconds, the system will automatically convert milliseconds into seconds.

The value is an integer that ranges from 20 to 60000.
seconds interval Sets the interval at which packets are sent, in seconds. The value is an integer that ranges from 1 to 60, in seconds.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

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

The type of a test instance has been specified using the test-type command. The interval command is valid only for the ICMP, ICMP Jitter, Path Jitter, SNMP, LSP Jitter, LSP Ping, PWE3 Ping, TCP, UDP, or UDP Jitter test instances.

Configuration Impact

  • Packets can be sent at interval of milliseconds only in UDP Jitter, Path Jitter, or ICMP Jitter test instances. The interval at which packets are sent must be greater than the timeout period set using the timeout command in all test instances except the UDP Jitter, Path Jitter, or ICMP Jitter test instance.
  • If the interval for sending packets has been configured, running the interval command will override the previous configuration.

Precautions

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

Example

# Set the interval for sending test packets to 1000 milliseconds.

<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type jitter
[HUAWEI-nqa-user-test] interval milliseconds 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >