display twamp-light test-session

Function

The display twamp-light test-session command displays real-time statistics about a TWAMP Light test session.

Format

display twamp-light [ link-bundle ] test-session [ verbose | session-id ]

Parameters

Parameter Description Value
link-bundle

Specifies the type of link-bundle session.

-

verbose

Displays detailed statistics about a TWAMP Light test session.

-

session-id

Displays real-time statistics about a specified TWAMP Light test session.

The value is an integer ranging from 1 to 2048.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
twampclient read

Usage Guidelines

Usage Scenario

After measurement is enabled or a session becomes faulty, to check real-time statistics about a TWAMP Light test session, run the display twamp-light test-session command.

Example

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

# Display detailed information about test session 3.
<HUAWEI> display twamp-light test-session 3
Session ID                       : 3
State                            : inconsistent
Type                             : -
Sender IP                        : 10.1.1.1
Sender Port                      : 3000
Reflector IP                     : 10.2.2.2
Reflector Port                   : 2001
Mode                             : unauthenticated
DSCP                             : 0
Padding Length                   : 128
Padding Type                     : 00
VPN Instance                     : -
Link-Bundle Interface            : Eth-Trunk1
Last Start Time                  : -
Last Stop Time                   : -
Regular Time(in minute)          : -
Period Time(in millisecond)      : -
Time Out(in second)              : -
Duration Time(in second)         : -
Packet Count                     : -

    Member-If                    : Ethernet0/1/0
    State                        : inactive(not startup)
    Last Start Time              : never
    Last Stop Time               : never
# Display information about link-bundle test session.
<HUAWEI> display twamp-light link-bundle test-session
Total member number  : 6
Active member number : 0
-------------------------------------------------------------------------------------------------------------------------------------------------
  ID    Sender-IP       Sender-Port     Reflector-IP    Reflector-Port    Link-Bundle                 Member-If                     State       
-------------------------------------------------------------------------------------------------------------------------------------------------
   1    10.1.1.1                1111     10.2.2.2                   2222    Eth-Trunk100                                              inconsistent
   2    10.1.1.1                1111     10.2.2.2                   2223    Eth-Trunk1                                                inconsistent
                                                                                                      Ethernet0/1/0                 inactive    
                                                                                                      Ethernet0/1/1                 inactive    
                                                                                                      Ethernet0/1/2                 inactive    
   3    10.1.1.1                1111     10.2.2.2                   2225    Eth-Trunk1.1                                              inconsistent
                                                                                                      Ethernet0/1/0                 inactive    
                                                                                                      Ethernet0/1/1                 inactive    
                                                                                                      Ethernet0/1/2                 inactive
# Display the brief information about all test sessions.
<HUAWEI> display twamp-light test-session
Total number : 2                                                               
Active number : 1                                                               
--------------------------------------------------------------------------------
  ID        Sender-IP   Sender-Port     Reflector-IP    Reflector-Port  State   
--------------------------------------------------------------------------------
   1        1.1.1.1     2001            2.2.2.2         2010            active  
   2        1.1.1.1     2001            3.3.3.3         2020            inactive
# Display detailed information about test session 1.
<HUAWEI> display twamp-light test-session 1
Session ID                       : 1                                            
State                            : active                                       
Type                             : continual
Sender IP                        : 10.1.1.1                                      
Sender Port                      : 2001                                         
Reflector IP                     : 10.2.2.2                                     
Reflector Port                   : 2010                                         
Mode                             : unauthenticated                              
DSCP                             : 0                                            
Padding Length                   : 128  
Padding Type                     : 00                                        
VPN Instance                     : -                                            
Link-Bundle Interface            : -
Last Start Time                  : 2014-08-05 16:41:05-08:00                    
Last Stop Time                   : never
Regular Time(in minute)          : -                                        
Period Time(in millisecond)      : 100                                          
Time Out(in second)              : 5
Duration Time(in second)         : -                                            
Packet Count                     : -
# Display detailed information about all test sessions.
<HUAWEI> display twamp-light test-session verbose
Session ID                       : 1                                            
State                            : active                                       
Type                             : continual
Sender IP                        : 10.1.1.1                                      
Sender Port                      : 2001                                         
Reflector IP                     : 10.2.2.2                                     
Reflector Port                   : 2010                                         
Mode                             : unauthenticated                              
DSCP                             : 0                                            
Padding Length                   : 128 
Padding Type                     : 00                                         
VPN Instance                     : -                                            
Link-Bundle Interface            : -
Last Start Time                  : 2014-08-05 16:41:05-08:00                    
Last Stop Time                   : never
Regular Time(in minute)          : -
Period Time(in millisecond)      : 100                                          
Time Out(in second)              : 5
Duration Time(in second)         : -                                    
Packet Count                     : -                                    

Session ID                       : 2                                            
State                            : inactive(absence of resource)                
Type                             : on-demand                                    
Sender IP                        : 10.1.1.1                                      
Sender Port                      : 2001                                         
Reflector IP                     : 10.3.3.3                                      
Reflector Port                   : 2020                                         
Mode                             : unauthenticated                              
DSCP                             : 0                                            
Padding Length                   : 128
Padding Type                     : 00                                          
VPN Instance                     : -                                             
Link-Bundle Interface            : -
Last Start Time                  : never                                        
Last Stop Time                   : never
Regular Time(in minute)          : -                                       
Period Time(in millisecond)      : 100                                          
Time Out(in second)              : 8                                            
Duration Time(in second)         : 300                                          
Packet Count                     : 0
Table 1 Description of the display twamp-light test-session command output
Item Description
Session ID

ID of a session.

ID

ID of a session.

State

Status of a test session:

  • Active.
  • Inactive.
    • Not startup.
    • Absence of resources.
    • Board fault.
  • inconsistent.
Type

Type of a test session:

  • On-demand measurement.
  • Continual measurement.
  • Regular measurement.
Sender IP

IP address of a Session-Sender.

Sender Port

UDP port number of a Session-Sender.

Reflector IP

IP address of a Session-Reflector.

Reflector Port

UDP port number of a Session-Reflector.

Mode

Authentication mode (Currently only unauthenticated is supported.).

DSCP

Differentiated services code point (DSCP) value of a test session.

Padding Length

Padding length of a test session.

Padding Type

Padding type of a test session.

VPN Instance

L3VPN instance name.

Link-Bundle Interface

Link-bundle interface.

Last Start Time

Time when a test session is recently activated.

Last Stop Time

Time when a test session is recently stopped.

Time Out(in second)

Timeout period for response packets, in seconds.

Regular Time

Specify the regular time of sending packets, in minutes.

Regular Time(in minute)

Regular time(in minute).

Period Time(in millisecond)

Interval at which statistics are collected, in ms.

Duration Time(in second)

Period during which packets are sent over a test session, in seconds.

Packet Count

Number of packets sent over a test session for on-demand measurement.

Member-If

Trunk member interface.

Total number

Total number of test sessions.

Total member number

Total member number of test sessions.

Active number

Number of active proactive or on-demand measurement test sessions.

Active member number

Number of active proactive or on-demand member measurement test sessions.

Sender-IP

IP address of a Session-Sender.

Sender-Port

UDP port number of a Session-Sender.

Reflector-IP

IP address of a Session-Reflector.

Reflector-Port

UDP port number of a Session-Reflector.

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