Owner's manual
Service Mode CLI Commands
2-11
Executing CLI Service Mode command file....
Enter the command file name:
2.2.15 install
Configures the switch as primary or standby, installs Kerberos settings, or runs a CLI command file, depending
on the value of the first parameter.
Syntax
install <install_option> [file_name]
Parameters
Example
SM-WS5000> install primary test.sym
Begin command file processing...
Begin parsing command file for download and logging parameters...
/butterfly/scripts/cmd_process: tr: command not found
/butterfly/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>
2.2.16 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 /butterfly/scripts/engg directory
with executable permission.
Syntax
launch <option> <program_name>
Parameters
Example
SM-WS5000.(Cfg)> launch -f
<install_option> Specify Primary or Standby to configure the switch as the primary or standby Switch.
Specify which command (.sym) file to install. Omitting a specific command file, forces
the system to install the default command *.sym file. If no default command file exits,
omitting the file name results in no changes to the current configuration.
<file_name> The optional command file name extensions are (.sym) or Kerberos file (.krb) to install.
Specifying a valid command file (*.sym) causes the switch to shutdown and reset.
Specifying a valid Kerberos file to update (*.krb) does not require the Kerberos enabled
switches to reset.
-f <program_name> Along with the option flag, enter the name of the program to be run.
-c <command> Along with the option flag, enter the name of the command to be run.