The Two-Way Active Measurement Protocol (TWAMP) defines a method for measuring round-trip IP network performance between two TWAMP-capable devices. Figure 1 Figure 1 shows how TWAMP is implemented.
TWAMP supports only proactive measurement.
To facilitate implementation, TWAMP unifies the four logical entities, as shown in Figure 3. Control signals are exchanged between the control-client and server through a TCP connection; probes are exchanged between the session-sender and session-reflector through a UDP connection. The control-client and server establish and start a test session. Once a test session starts, the control-client and server notify the session-sender and session-reflector respectively of the session information and allow the session-sender to send probes and the session-reflector to respond to the probes.
On a live network, if a network element (NE) functions as a server and session-reflector alone, the NE participates in TWAMP session establishment and probe exchanges but does not compile statistics. If a device or tester functions as the control-client and session-sender, the device or tester proactively establishes a TWAMP session for statistics collection. Users manage the control-client alone to rapidly obtain statistics about the performance of the entire IP network.