The Legacy Orchestrator command line interface is called socli. From the socli command line, you can access another set of commands (called mgr-commands) that are used primarily to set up performance sessions.
To create performance sessions in bulk using a script, you prepare the script consisting of mgr-commands that create sender endpoints, reflector endpoints, and sessions. Then you execute the script in mgr-commands mode.
This article provides a procedure for loading and executing a script on the command line. It also provides an example script for creating performance sessions.
For detailed information about the socli and mgr-commands, see the Docker CLI Reference (part of the document set for Legacy Orchestrator).
Procedure Requirements
- Part of this procedure is performed in the Legacy orchestrator console (socli CLI). To access the console, you need to know the credentials of the skylight user.
- Part of this procedure is performed in mgr-commands mode. To enter this mode, you must know the credentials for a valid Legacy Orchestrator user account (an account for the Legacy Orchestrator web interface).
You must prepare a script that includes all the commands needed to set up the session. For an example that you can use as a starting point, see Example Script for Creating Performance Sessions.
Procedure Steps
During this procedure you will do the following tasks:
- Upload the script to the Legacy Orchestrator.
- Execute the script.
To upload the script to the Legacy Orchestrator
-
Use an SCP client (such as WinSCP) to transfer your script to the Legacy Orchestrator.
-
Copy your script to the core container.
To execute the script
-
Open an SSH terminal session to the Legacy Orchestrator CLI on port 2200.
-
Log in as the skylight user.
-
At the prompt, enter this command to go into mgr-commands mode:
mgr-commands -
At the mgr/mgr# prompt, enter this command to execute the script:
execute <the_path_to_your_script_in_the_core_container>/<your_script_file_name>
The commands in the script are displayed as they are executed. -
When the script has run to completion, enter this command to confirm that any new reflectors and supervision endpoints were created:
show endpoint all
Confirm that new endpoints appear in the list. -
Enter this command to check that new sessions were created:
show session
Confirm that new sessions appear in the list. -
Exit mgr-commands mode by entering:
quit
Example Script for Creating Performance Sessions
This example script creates and configures four reflectors and sets up a TWAMP session.
The script consists of mgr-commands. For detailed descriptions of mgr-commands, see the Docker CLI Reference.
© 2025 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks