9-16
WS5000 Series Switch System Reference
Example
SM-WS5000> install primary test.sym
Begin command file processing...
Begin parsing command file for download and logging parameters...
/WS5000/scripts/cmd_process: tr: command not found
/WS5000/scripts/cmd_process: tr: command not found...
Command file was parsed successfully.
Shutting down running processes. This may take a while...
Shutting down running processes...
Resetting the Switch...
SM-WS5000>
9.2.21 launch
Use launch to specify the program or shell command to be executed. Observe the following constraints:
• For executing a Linux program, its path must be available in the environment variable $PATH.
• When executing a command, the command must be available in the /WS5000/scripts/engg directory
with executable permission.
Syntax
launch -p <key>
<option> <program_name>
Parameters
Secret key for password to access launch command.
<key>
It can be either of the below mentioned two:
<option>
• -c for command
• -f for file
It can be either of the below mentioned two:
<program_name>
• for -c option it is command name
• for -f option it is a file name to be executed
Example
SM-WS5000> cfg encrypt B20!FlyIn
Encrypting password 'B20!FlyIn'....
Actual Password B20!FlyIn
Encrypted Password 14c8bf727be6e37b3fbd25489b00b3b1
Note Use encrypt command along with the root
password to generate the key for executing the launch
command.