test start-continual

Function

The test start-continual command enables proactive measurement.

The undo test start-continual command disables proactive measurement.

By default, proactive measurement is not enabled.

Format

test start-continual test-session session-id [ period periodValue ] [ time-out time-out ]

undo test start-continual test-session session-id [ [ period periodValue ] [ time-out time-out ] ]

Parameters

Parameter Description Value
period periodValue

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

The value is an enumerated type:

  • 10: Specifies a sending packets interval of 10 ms.
  • 100: Specifies a sending packets interval of 100 ms.
  • 1000: Specifies a sending packets interval of 1000 ms.
  • 30000: Specifies a sending packets interval of 30000 ms.

The value is 100 ms by default.

time-out time-out

Indicates the timeout period for response packets.

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

test-session session-id

Indicates the ID of a test 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

Proactive measurement works continuously to collect statistics. To implement performance measurement continuously, run the test start-continual command to enable proactive measurement.

Prerequisites

A session has been created on the Control-Client.

Precautions

  • After a test session is deleted, the proactive measurement configuration for the test session will be deleted.
  • After a Session-Sender is deleted, all proactive measurement configurations will be deleted.
  • When on-demand measurement is running, if proactive measurement is started, on-demand measurement is immediately stopped, and proactive measurement starts to work.
  • On-demand measurement may fail when board resources are insufficient. If the display twamp-light test-session command output shows inactive in the State option, on-demand measurement fails.

Example

# Enable proactive measurement on test 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-continual test-session 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >