Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Defines the Two-Way Active Measurement Protocol (TWAMP) server configurations. This configuration describes a TWAMP server on the router that enables a TWAMP client to connect to the server using any media interface IP address. In such scenarios, the router functions as a TWAMP server and timestamping is performed in the ukernel of the media-facing Flexible PIC Concentrator (FPC).



TWAMP server configuration.


Set of authentication modes that the server can accept.

  • Default: none


Maximum time a connection can exist between the client and the server.

  • Default: 24

  • Range: 0-120


Maximum number of test sessions for the server.

  • Default: 64

  • Range: 1-2048


Maximum number of test sessions per client connection.

  • Default: 64

  • Range: 1-1024


Maximum number of connections for the server.

  • Default: 64

  • Range: 1-1000


Maximum number of server connections per client.

  • Default: 64

  • Range: 1-500


TWAMP server listening port used by the routing instance.

  • Default: 862

  • Range: 1-65535


List of allowed control client hosts that can connect to this server. Each item in the list is a Classless Interdomain Routing (CIDR) address (ip address1/mask1) that represents the network of allowed hosts.


List of allowed routing instances (a maximum of 31 characters). It configures the TWAMP servers on specific routing instances, instead of associating the TWAMP server at the system-level to apply to all routing instances configured on a router. The default routing instance is Internet routing table inet.0. If you do not specify a routing instance then the TWAMP probe applies to all routing instances. Up to 100 routing instances can be configured for a TWAMP server.

  • Range: 1-65535


Maximum time the TWAMP server has to finish the TWAMP control protocol negotiation. Control packet idle timeout value in minutes, 0 to disable (minutes).

  • Default: 15

  • Range: 0-30

Required Privilege Level

system—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 15.1X49-D110.