Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


test-session (Junos OS)


Hierarchy Level


Specify the test session details that includes the session name, the contents of the test packet, the data size, the probe details, and the target destination details.



Name of the session.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 15.1.

destination-port option added in Junos OS Release 21.1R1.

source-address option and the local-link sub-option of the target-address option for TWAMP Light test sessions introduced in Junos OS Release 21.4R1.