< Home

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 5.
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 5 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic