OcNOS-SP : Layer 3 Guide : Two-Way Active Measurement Protocol Command Reference : TWAMP Commands : test-session-name (Deprecated)
test-session-name (Deprecated)
This command is not supported anymore. The “delay-measurement dynamic twamp” command under interface mode should be used to start twamp measurement instead.
Use this command to configure the TWAMP test sessions.
Use the no form of this command to un-configure or remove the configured TWAMP test sessions.
Notes:
The dscp-to-queue mapping is performed for egress only when the sender port has the default value 862. Otherwise, Queue-6 will always be used.
The dscp-to-queue mapping is done based on the first 3 bits of the dscp value.
If dscp is not supplied (value 0), Queue-6 will always be used.
Command Syntax
test-session-name WORD sender-ip (A.B.C.D|X:X::X:X|HOSTNAME) (sender-port (862|<1025-65535>)|) reflector-ip (A.B.C.D|X:X::X:X|HOSTNAME) (reflector-port (862|<1025-65535>)|)(dscp(default|cs1|af11|af12|af13|cs2|af21|af22|af23|cs3|af31|af32|af33|cs4|af41|af42|af43|cs5|ef|cs6|cs7|<0-63>)|)
no test-session-name WORD
Parameters
WORD
TWAMP test session name.
X:X::X:X
TWAMP Sender or Reflector IP address in IPv6 format.
A.B.C.D
TWAMP Sender or Reflector IP address in IPv4 format.
<1025-65535>
TWAMP Sender or Reflector UDP port number.
dscp
The DSCP value to used by the sender for TWAMP messages. This can be an explicit value 0-63, or it can be a well-known name:
(af11| af12| af13| af21| af22| af23| af31| af32| af33| af41| af42| af43| cs1| cs2| cs3| cs4| cs5| cs6| cs7| default| ef)
Default
The sender-port and reflector-port default values are 862.
The dscp default value is 0.
Command Mode
TWAMP light control mode (config-twamp-light-ctrl)
Applicability
This command was introduced before OcNOS version 3.0. The dscp parameter was added in OcNOS version 5.0.
Examples
To configure:
(config)#twamp-light control
(config-twamp-light-ctrl)# test-session-name s1 sender-ip 10.0.0.1 sender-port 1234 reflector-ip 10.0.0.1 reflector-port 1234 dscp af23
To un-configure:
(config)#twamp-light control
(config-twamp-light-ctrl)# no test-session-name s1
 
Last modified date: 10/16/2023