IPI-TWAMP
Configure enable
Enables TWAMP Light Control
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<control>
<config>
</enable>
</config>
</control>
</light>
</twamp>
Command Syntax
twamp-light control
Configure administrative state
Sets TWAMP Light Control administrative state
Attribute Name: administrative-state
Attribute Type: enum (disable|enable)
Default Value: disable
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<control>
<config>
<administrative-state>disable</administrative-state> <!-- operation="delete"-->
</config>
</control>
</light>
</twamp>
Command Syntax
control-admin-state (disable|enable)
Configure vrf name
Use this attribute to set the session VRF name
Attribute Name: vrf-name
Attribute Type: string
Attribute Name: sender-ip-address
Attribute Type: union
Attribute Name: sender-udp-port
Attribute Type: union
Attribute Name: reflector-ip-address
Attribute Type: union
Attribute Name: reflector-udp-port
Attribute Type: union
Attribute Name: dscp-value
Attribute Type: union
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<control>
<test-sessions>
<test-session>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
<session-name>WORD</session-name>
<sender-ip-address>TWAMP_HOSTNAME_T</sender-ip-address>
<sender-udp-port>862</sender-udp-port>
<reflector-ip-address>TWAMP_HOSTNAME_T</reflector-ip-address>
<reflector-udp-port>862</reflector-udp-port>
<dscp-value>default</dscp-value>
</config>
<session-name>WORD</session-name>
</test-session>
</test-sessions>
</control>
</light>
</twamp>
Command Syntax
test-session-name WORD sender-ip (ipv4 A.B.C.D|ipv6 X:X::X:X|HOSTNAME) (sender-port (862|<1025-65535>)|) reflector-ip (ipv4 A.B.C.D|ipv6 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>)|) (vrf WORD|)
Configure name
Use this attribute to set the Reflector VRF name
Attribute Name: vrf-name
Attribute Type: string
Attribute Name: reflector-ip-address
Attribute Type: union
Attribute Name: reflector-udp-port
Attribute Type: union
Attribute Name: sender-ip-address
Attribute Type: union
Attribute Name: sender-udp-port
Attribute Type: union
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<session-reflector>
<sessions>
<session>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
<name>WORD</name>
<reflector-ip-address>TWAMP_HOSTNAME_T</reflector-ip-address>
<reflector-udp-port>862</reflector-udp-port>
<sender-ip-address>TWAMP_HOSTNAME_T</sender-ip-address>
<sender-udp-port>0</sender-udp-port>
</config>
<name>WORD</name>
</session>
</sessions>
</session-reflector>
</light>
</twamp>
Command Syntax
reflector-name WORD reflector-ip (ipv4 A.B.C.D|ipv6 X:X::X:X|HOSTNAME) (reflector-port (862|<1025-65535>)|) (sender-ip (ipv4 A.B.C.D|ipv6 X:X::X:X|HOSTNAME)|) (sender-port (0|862|<1025-65535>)|) (vrf WORD|)
Configure sender ip address
Set TWAMP Reflector Session sender IP address
Attribute Name: sender-ip-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<session-reflector>
<sessions>
<session>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
<name>WORD</name>
</config>
<name>WORD</name>
<sender-ip-address>TWAMP_HOSTNAME_T</sender-ip-address>
</session>
</sessions>
</session-reflector>
</light>
</twamp>
Command Syntax
(sender-ip|)
Configure sender udp port
Use this attribute to set the sender UDP Port
Attribute Name: sender-udp-port
Attribute Type: enum (0)
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<light>
<session-reflector>
<sessions>
<session>
<vrf-name>NAME</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
<name>WORD</name>
</config>
<name>WORD</name>
<sender-udp-port>0</sender-udp-port> <!-- operation="delete"-->
</session>
</sessions>
</session-reflector>
</light>
</twamp>
Command Syntax
(sender-port (0)|)
Configure options
Use this attribute to debug the twamp session
Attribute Name: options
Attribute Type: enum (twamp)
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<debug>
<config>
<options>twamp</options> <!-- operation="delete"-->
</config>
</debug>
</twamp>
Command Syntax
debug (twamp)
Configure port
Use this attribute to set Server TCP Port
Attribute Name: port
Attribute Type: union
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<port>862</port> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
port (862|<1025-65535>)
Configure max connection duration
Set the maximum connection duration in hours, 0 to disable
Attribute Name: max-connection-duration
Attribute Type: uint8
Attribute Range: 0-120
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<max-connection-duration>0</max-connection-duration> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
max-connection-duration <0-120>
Configure max connections
Set the maximum connections
Attribute Name: max-connections
Attribute Type: uint8
Attribute Range: 1-32
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<max-connections>1</max-connections> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
max-connections <1-32>
Configure max connections per client
Set the maximum number of connections per client
Attribute Name: max-connections-per-client
Attribute Type: uint8
Attribute Range: 1-4
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<max-connections-per-client>1</max-connections-per-client> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
max-connections-per-client <1-4>
Configure maximum sessions
Set the maximum number of test sessions for the server
Attribute Name: maximum-sessions
Attribute Type: uint8
Attribute Range: 1-64
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<maximum-sessions>1</maximum-sessions> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
maximum-sessions <1-64>
Configure maximum sessions per connection
Set the maximum number of test sessions per client connection
Attribute Name: maximum-sessions-per-connection
Attribute Type: uint8
Attribute Range: 1-64
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<maximum-sessions-per-connection>1</maximum-sessions-per-connection> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
maximum-sessions-per-connection <1-64>
Configure inactivity timeout
Set the control packet idle timeout value in minutes, 0 to disable
Attribute Name: inactivity-timeout
Attribute Type: uint8
Attribute Range: 0-30
Netconf edit-config payload
<twamp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<server>
<config>
<inactivity-timeout>0</inactivity-timeout> <!-- operation="delete"-->
</config>
</server>
</twamp>
Command Syntax
inactivity-timeout <0-30>
twamp start test-session WORD packet-count <1-65535> (interval <500-10000>|) (delay-threshold <0-1000000>|)
Attribute Name: session-name
Attribute Type: string
Attribute Range: 1-128
Attribute Name: packet-count
Attribute Type: uint16
Attribute Range: 1-65535
Attribute Name: packet-interval
Attribute Type: uint16
Default Value: 1000
Attribute Range: 500-10000
Attribute Name: delay-threshold
Attribute Type: uint32
Default Value: 0
Attribute Range: 0-1000000
Netconf RPC payload
<twamp-test-session-start xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<session-name>WORD</session-name>
<packet-count>1</packet-count>
<packet-interval>500</packet-interval>
<delay-threshold>0</delay-threshold>
</twamp-test-session-start>
Command Syntax
twamp start test-session WORD packet-count <1-65535> (interval <500-10000>|) (delay-threshold <0-1000000>|)
twamp stop test-session WORD
Attribute Name: session-name
Attribute Type: string
Attribute Range: 1-128
Netconf RPC payload
<twamp-test-session-stop xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<session-name>WORD</session-name>
</twamp-test-session-stop>
Command Syntax
twamp stop test-session WORD
debug (twamp)
Attribute Name: terminal-debug-options
Attribute Type: enum (twamp)
Netconf RPC payload
<twamp-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<terminal-debug-options>twamp</terminal-debug-options>
</twamp-terminal-debug-on>
Command Syntax
debug (twamp)
no debug (twamp)
Attribute Name: terminal-debug-options
Attribute Type: enum (twamp)
Netconf RPC payload
<twamp-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-twamp">
<terminal-debug-options>twamp</terminal-debug-options>
</twamp-terminal-debug-off>
Command Syntax
no debug (twamp)
Last modified date: 10/09/2023