test-session inactive

Function

The test-session inactive command configures an inactive interval for a test session on the session-reflector.

The undo test-session inactive command cancels the configuration.

By default, the inactive interval of a test session is 900s.

Format

test-session inactive timeout

undo test-session inactive

Parameters

Parameter Description Value
timeout

Specifies an inactive interval for a test session.

The value is an integer ranging from 1 to 604800, in seconds.

Views

TWAMP reflector view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
twamp write

Usage Guidelines

Usage Scenario

Test sessions are established based on control sessions. After a test session is started, the Session-Sender sends a probe (carrying the timestamp and sequence number) to the Session-Reflector. After receiving the probe, the Session-Reflector responds to the Session-Sender with a probe (carrying the timestamp and sequence number). After receiving the response probe, the Session-Sender calculates the IP performance statistics based on the data carried in the probe and sends the statistics to the client. The client maintains the statistics and displays them to the user.

If a test session remains inactive within the specified inactive timeout period, the test session is deleted to prevent it from occupying system resources.

Example

# Set the inactive interval of a test session to 600s on the session-reflector.
<HUAWEI> system-view
[~HUAWEI] nqa twamp
[*HUAWEI-twamp] reflector
[*HUAWEI-twamp-ref] test-session inactive 600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic