control-session inactive

Function

The control-session inactive command configures an inactive interval for a control session on the Two-Way Active Measurement Protocol (TWAMP) server.

The undo control-session inactive command cancels the configuration.

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

Format

control-session inactive time-out

undo control-session inactive

Parameters

Parameter Description Value
time-out

Specifies an inactive interval for a control session.

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

Views

TWAMP server view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
twamp write

Usage Guidelines

Usage Scenario

A control session is established through a TCP connection between the server and control-client.

If a control session stays in the inactive state within the specified inactive interval, the control session is deleted to reduce resource consumption.

Example

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