display twamp control-session (All views)

Function

The display twamp control-session command displays information about a control session on the Two-Way Active Measurement Protocol (TWAMP) server.

Format

display twamp control-session { verbose | client-ip client-ip-address client-port client-port-number [ vpn-instance vpn-instance-name ] }

Parameters

Parameter Description Value
verbose

Displays detailed information about a control session.

-

client-ip client-ip-address

Specifies the IP address of a control-client.

The value is in dotted decimal notation.

client-port client-port-number

Specifies a TCP port number of a control-client.

The value is an integer ranging from 1 to 65535.

vpn-instance vpn-instance-name

Displays information about a control session in a specified VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
twamp read

Usage Guidelines

Usage Scenario

After a control session is configured, you can run the display twamp control-session command to view detailed information about the control session.

Example

The actual command output varies according to the device. The command output here is only an example.

# View detailed information about a control session.
<HUAWEI> display twamp control-session verbose
State                : active
Control Session ID   : 0
Client IP            : 1.1.1.1
Client Port          : 37524
Server IP            : 1.1.1.2
Server Port          : 862 
VPN Instance         : -
Mode                 : unauthenticated
Inactive Time(s)     : -
Test Session Number  : 10 
Created Time         : 2012-08-05 16:47:55
Normal Stop          : 100
Abort Stop           : 10

State                : active
Control Session ID   : 1
Client IP            : 10.1.1.1
Client Port          : 37524
Server IP            : 10.10.10.2
Server Port          : 862 
VPN Instance         : -
Mode                 : unauthenticated
Inactive Time(s)     : -
Test Session Number  : 10 
Created Time         : 2012-08-05 16:47:55
Normal Stop          : 100
Abort Stop           : 10
Table 1 Description of the display twamp control-session (All views) command output
Item Description
State

The state of a control session can be:

  • initial: the control session is in the initialized state.
  • connecting: the control session is in the connected state in which parameters are negotiated.
  • establish: the control session has been established, but the test session is not established.
  • inactive: both the control and test sessions have been established, but the test session is not started.
  • active: both the control and test sessions have been established, and the test session is started.
Control Session ID

ID of a control session.

Client IP

IP address of the control-client.

Client Port

TCP port number of the control-client.

Server IP

IP address of the server.

Server Port

TCP port number of the server.

You can run the tcp port command to change the TCP port number.

VPN Instance

Name of a VPN instance.

Mode

The authentication and encryption modes are as follows:

  • unauthenticated.
  • authenticated (currently not supported).
  • encrypted (currently not supported).
Inactive Time(s)

Inactive interval of a control session, in seconds. The value is specified by the SERVWAIT timer. The - value indicates that the SERVWAIT timer is not started.

Test Session Number

Number of test sessions based on a control session.

Created Time

Time when a control session is established.

Normal Stop

Times a control session normally stops.

Abort Stop

Times a control session abnormally stops.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >