Page MenuHomeVyOS Platform

Support for TWAMP as round-trip metric
Needs testing, Requires assessmentPublicFEATURE REQUEST

Description

The Two-Way Active Management Protocol (TWAMP) is an extension of the One-Way Active Management Protocol (OWAMP) that supplies two-way or round-trip measurements instead of unidirectional capabilities.

Two-way measurements are helpful because synchronization between local and remote clocks is unnecessary for
round-trip delay, and measurement support at the remote end may be limited to a simple echo function.
However, the Internet Control Message Protocol (ICMP) Echo Request/Reply (used by ping) for this purpose has several shortcomings.
TWAMP defines an open protocol for measuring two-way or round-trip metrics with greater accuracy than other methods by using time-stamps (processing delays can be factored as well).

Possible CLI Design:

set service twamp server client-list x.x.x.x/x
set service twamp server dscp-value x
set service twamp server maximum-connections x
set service twamp server maximum-sessions-per-connection x
set service twamp server mode x
set service twamp server port 862
set service twamp server server-inactivity-timeout x
set service twamp server test-inactivity-timeout x
set service twamp server user xxx password xxxx

twping x.x.x.x count x session-count x

+----------------+ +-------------------+

| Session-Sender |<-TWAMP-Test-->| Session-Reflector |
+----------------+               +-------------------+
  ^                                     ^
  |                                     |
  |                                     |
  |                                     |
  |  +----------------+<----------------+
  |  |     Server     |
  |  +----------------+
  |    ^
  |    |
  | TWAMP-Control
  |    |
  v    v
+----------------+
| Control-Client |
+----------------+

RFC: https://datatracker.ietf.org/doc/html/rfc5357

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Is there any Linux implementation?

Viacheslav changed the task status from Open to Needs testing.Jun 2 2022, 10:39 AM

@SrividyaA will be present in the next rolling release

Server site (192.0.2.1):

set service sla twamp-server

Client:

force twping 192.0.2.1