MergePoint® SP Manager Installer/User Guide
122
command line mode, make sure to use the
Options on page 122.
When invoked without commands, CLI enters interactive mode; see Interactive mode on page
122. When the CLI utility is invoked with the
commands are executed in batch mode from the specified file or script. See CLI Options on
page 122.
Interactive mode
Interactive mode is entered by invoking CLI on the command line. The cli> prompt appears,
and the administrator performs configuration by entering commands followed by parameters
followed by parameter arguments at the cli> prompt. The CLI utility waits for new commands
until the user enters the
changes to take effect.
Batch mode
Batch mode refers to invoking CLI commands from a file as follows:
CLI commands can be saved in a plain text file and executed in batch mode by invoking the
CLI utility with the
•
CLI commands can be used in any kind of shell script:
•
#!/usr/bin/cli
commands.
•
Any type of shell can be used to run CLI commands along with other commands.
CLI Options
Administrators can invoke the CLI command with a number of different options shown in the
following table.
Table 7.1: CLI Utility Options
Option
Description
-1
Single command only (no effect in interactive mode).
-C
Commits changes automatically when quitting.
Reads commands from <file>. Used for running commands in batch mode.
-f <file>
NOTE: You may use "
or
command. You must enter the
quit
exit
option.
-f <file>
can be invoked at the top of a shell script if the script contains only CLI
-
" for stdin, such as cli -f -.
option as part of the command line. See CLI
-C
option or is invoked from a script, the
-f <file>
command for
commit
Need help?
Do you have a question about the MERGEPOINT SP MANAGER and is the answer not in the manual?
Questions and answers