< Home

test-session

Function

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

The undo test-session command deletes a TWAMP Light test session from a Responder.

By default, no TWAMP Light test session is created on a 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 a test session.

The value ranges from 1 to 256 for the USG6712E/6716E and ranges from 1 to 128 for other devices.

local-ip local-ip-address

Specifies the IP address of a Responder.

The value is in dotted decimal notation.

remote-ip remote-ip-address

Specifies the IP address of a Controller.

The value is in dotted decimal notation.

local-port local-port

Specifies the UDP port number of a Responder.

The value can be 862, 863 or is an integer ranging from 1025 to 65535.

remote-port remote-port

Specifies the UDP port number of a Controller.

The value can be 862, 863 or is an integer ranging from 1025 to 65535.

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value can be the name of a manually created VPN instance or a VPN instance automatically generated in the creation of a virtual system.

description description

Specifies the description of a test session. You can add a description for a test session to facilitate information query and session maintenance.

The value is a string of 3 to 32 case-sensitive characters, spaces not supported. The character string can contain spaces if it is enclosed in double quotation marks (").

Views

TWAMP-Light-Responder view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before implementing TWAMP Light, create a TWAMP Light test session on a Responder and configure the 5-tuple parameters, including the IP address and UDP port number of a Controller, IP address and UDP port number of a Responder, and VPN instance name, for the test session.

Precautions

  • After a test session is created, you can run specific commands to start a TWAMP Light test.
  • After a test session is configured, its parameters cannot be modified.
  • The IP address configured for a test session must be a unicast address.
  • The UDP port number of a Responder must be an unused port number. For example, if local-port is 4500 and IPSec NAT traversal is configured, the TWAMP Light service will be abnormal.

  • The VPN instance specified for a test session must have been created.

Example

# Create a TWAMP Light test session on a Responder.

<sysname> system-view
[sysname] nqa twamp-light
[sysname-twamp-light] responder
[sysname-twamp-light-responder] test-session 1 local-ip 1.1.1.1 remote-ip 2.2.2.2 local-port 3000 remote-port 3000 vpn-instance vpn1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >