No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
TWAMP Light Configuration Commands

TWAMP Light Configuration Commands

Command Support

Huawei S series switches can only function as the Responders in the TWAMP Light system.

display twamp-light responder test-session

Function

The display twamp-light responder test-session command displays real-time measurement session information on the TWAMP Light Responder.

Format

display twamp-light responder test-session [ verbose | session-id ]

Parameters

Parameter Description Value
verbose Displays details about all measurement sessions on the TWAMP Light Responder. -
session-id Displays details about the specified measurement session on the TWAMP Light Responder.

The value is an integer that ranges from 1 to 10.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the performance measurement function is enabled, you can run this command to view measurement session information on the TWAMP Light Responder if you want to check the measurement session configuration or locate the fault in measurement.

Example

# Display the summary of all measurement sessions.

<HUAWEI> display twamp-light responder test-session
Total number  : 2                                                               
--------------------------------------------------------------------------------
  ID     Local-IP       Local-Port     Remote-IP      Remote-Port               
--------------------------------------------------------------------------------
   1     10.1.1.2            10000     10.2.2.2             20000               
   2     10.1.1.3            10001     10.2.2.3             20001               

# Display details about all measurement sessions.

<HUAWEI> display twamp-light responder test-session verbose
Session ID                       : 1                                            
Local IP                         : 10.1.1.2                                     
Local Port                       : 10000                                        
Remote IP                        : 10.2.2.2                                     
Remote Port                      : 20000                                        
Mode                             : unauthenticated                              
VPN Instance                     : test                                         
Description                      : -                                            
                                                                                
Session ID                       : 2                                            
Local IP                         : 10.1.1.3                                     
Local Port                       : 10001                                        
Remote IP                        : 10.2.2.3                                     
Remote Port                      : 20001                                        
Mode                             : unauthenticated                              
VPN Instance                     : shuai                                        
Description                      : -                                            

# Display details about the specified measurement session.

<HUAWEI> display twamp-light responder test-session 1
Session ID                       : 1                                            
Local IP                         : 10.1.1.2                                     
Local Port                       : 10000                                        
Remote IP                        : 10.2.2.2                                     
Remote Port                      : 20000                                        
Mode                             : unauthenticated                              
VPN Instance                     : test                                         
Description                      : -                                            
Table 16-101  Description of the display twamp-light responder test-session command output
Item Description
Total number Total number of sessions.
ID/Session ID Session ID.
Local-IP/Local IP IP address of the session Responder.
Local-Port/Local Port UDP port number of the session Responder.
Remote-IP/Remote IP IP address of the session Sender.
Remote-Port/Remote Port UDP port number of the session Sender.
Mode Authentication mode. The value unauthenticated indicates that authentication is disabled.
VPN Instance VPN instance name. If the VPN instance name is not specified, the value of this field is empty.
Description Session description.

nqa twamp-light

Function

The nqa twamp-light command creates the TWAMP Light service and displays the TWAMP-Light view. If the TWAMP-Light service already exists, the TWAMP-Light view is directly displayed.

The undo nqa twamp-light command deletes the TWAMP Light service.

By default, the TWAMP Light service is not configured.

Format

nqa twamp-light

undo nqa twamp-light

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Using a simple structure of TWAMP, TWAMP Light lowers the requirements on the Responder . TWAMP Light measures bidirectional network performance between any nodes on the network. When the TWAMP Light service is required, run the nqa twamp-light command to create the TWAMP Light service.

Precautions

After you run the undo nqa twamp-light command, the device automatically deletes all TWAMP Light roles, sessions, and measurement services.

Example

# Create the TWAMP Light service.

<HUAWEI> system-view
[HUAWEI] nqa twamp-light
[HUAWEI-twamp-light]

responder

Function

The responder command enables the TWAMP Light Responder function and displays the TWAMP-Light-Responder view. If the Responder function has been enabled, the TWAMP-Light-Responder view is directly displayed.

The undo responder command disables the TWAMP Light Responder function.

By default, the TWAMP Light Responder function is disabled.

Format

responder

undo responder

Parameters

None

Views

TWAMP-Light view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To use the TWAMP Light service, run the Responder command on the Responder to display the TWAMP-Light-Responder view and create a measurement session. Then the Controller starts the measurement service based on the session configuration.

Precautions

After the TWAMP Light Responder is deleted, the packet loss rate is displayed as 100%, which is inaccurate.

Example

# Enable the TWAMP Light Responder function.

<HUAWEI> system-view
[HUAWEI] nqa twamp-light
[HUAWEI-twamp-light] responder
[HUAWEI-twamp-light-responder]

test-session (TWAMP-Light-Responder view)

Function

The test-session command creates a TWAMP Light measurement session on the Responder.

The undo test-session command deletes a TWAMP Light measurement session on the Responder.

By default, no TWAMP Light measurement session is created on the Responder.

Format

test-session session-id local-ip local-ip-address remote-ip remote-ip-address local-port local-port remote-port remote-port [ vpn-instance vpn-instance-name ] [ description description ]

undo test-session session-id [ local-ip local-ip-address remote-ip remote-ip-address local-port local-port remote-port remote-port [ vpn-instance vpn-instance-name ] [ description description ] ]

Parameters

Parameter Description Value
session-id Specifies the ID of the measurement session. The value is an integer that ranges from 1 to 10.
local-ip local-ip-address Specifies the IP address of the Responder. The value is in dotted decimal notation.
remote-ip remote-ip-address Specifies the IP address of the Sender. The value is in dotted decimal notation.
local-port local-port Specifies the UDP port number of the Responder. The value is 862, 863, or an integer that ranges from 1025 to 65535.
remote-port remote-port Specifies the UDP port number of the Sender. The value is 862, 863, or an integer that ranges from 1025 to 65535.
vpn-instance vpn-instance-name Specifies the name of a VPN instance. The value must be the name of an existing VPN instance.
description description Indicates the description of the specified measurement session. To configure description for a measurement session, specify the description parameter. The description facilitates session management and operation. The value is a string of 3 to 32 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

Views

TWAMP-Light-Responder view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the TWAMP Light service is created, you need to create a TWAMP Light measurement session on the Responder and configure measurement instance information, including the Sender's IP address, Responder's IP address, Sender's UDP port number, Responder's UDP port number, and VPN instance name.

Precautions

  • A maximum of 10 measurement sessions can be created on a Responder.

  • The created session starts measurement only when the measurement starts on the Controller.

  • After a session is created, its parameters cannot be modified. To modify a session, delete it and create it again.

  • The IP address must be a unicast address. By default, the DSCP field in a sent packet is 0 and the packet padding length is 128.

  • The UDP port of the sender must be a port that is not occupied.

  • The VPN instance must exist. When the VPN instance is deleted, the related measurement instance is also deleted.

Example

# Create a TWAMP Light measurement session on the Responder.

<HUAWEI> system-view
[HUAWEI] nqa twamp-light
[HUAWEI-twamp-light] responder
[HUAWEI-twamp-light-responder] test-session 1 local-ip 192.168.10.1 remote-ip 192.168.10.2 local-port 3000 remote-port 3001
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 116759

Downloads: 83

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next