test start-regular

Function

The test start-regular command starts periodic proactive measurement for a TWAMP Light session.

The undo test start-regular command stops periodic proactive measurement for a TWAMP Light session.

By default, no measurement is started for a TWAMP Light session.

Format

test start-regular test-session session-id [ regular-time timevalue ] [ packet-count packet-count ] [ time-out time-out ]

undo test start-regular test-session session-id [ regular-time timevalue ] [ packet-count packet-count ] [ time-out time-out ]

Parameters

Parameter Description Value
regular-time timevalue

Specifies the interval at which packets are sent over a test session.

The value is an integer ranging from 10 to 60, in minutes. The default value is 30.

packet-count packet-count

Specifies the number of sent packets.

The value is an integer ranging from 10 to 1000. The default value is 100.

time-out time-out

Specifies the timeout period for response packets within the sampling period.

The value is an integer ranging from 1 to 10, in seconds. The default value is 5.

test-session session-id

Specifies the ID of a TWAMP Light session.

The value is an integer ranging from 1 to 2048.

Views

TWAMP-light-sender view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
twampclient write

Usage Guidelines

Usage Scenario

To reduce high bandwidth consumption caused by proactive measurement, run the test start-regular command to start periodic proactive measurement and calculate the two-way packet loss rate, delay, and jitter based on the sequence number and timestamp information in the packets.

Prerequisites

A TWAMP Light session has been created using the test-session command.

Precautions

  • When a TWAMP Light session is deleted, its periodic proactive measurement is also deleted.
  • After a Session-Sender is deleted, all periodic proactive measurement configurations will be deleted.
  • If a TWAMP Light session works in proactive measurement mode, no periodic proactive measurement can be started for it.
  • If a TWAMP Light session works in on-demand measurement mode and periodic proactive measurement is started, on-demand measurement stops immediately, and the system starts periodic proactive measurement.
  • The command may be successfully executed but fail to be implemented due to insufficient board resources. If so, the State field of the TWAMP Light session is displayed as inactive in the display twamp-light test-session command output.

Example

# Start periodic proactive measurement for TWAMP Light session 1.
<HUAWEI> system-view
[~HUAWEI] nqa twamp-light
[*HUAWEI-twamp-light] client
[*HUAWEI-twamp-light-client] test-session 1 sender-ip 1.1.1.1 reflector-ip 2.2.2.2 sender-port 3000 reflector-port 3000
[*HUAWEI-twamp-light-client] quit
[*HUAWEI-twamp-light] commit
[~HUAWEI-twamp-light] sender
[*HUAWEI-twamp-light-sender] commit
[~HUAWEI-twamp-light-sender] test start-regular test-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >