102
MergePoint Service Processor Manager SP53XX Installer/User Guide
When invoked without commands, CLI enters interactive mode; see Interactive mode on page 102.
When the CLI utility is invoked with the
-f <file>
option or is invoked from a script, the commands
are executed in batch mode from the specified file or script. See CLI Options on page 102.
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
quit
or
exit
command.
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
-f <file>
option.
•
CLI commands can be used in any kind of shell script:
•
#!/usr/bin/cli
can be invoked at the top of a shell script if the script contains only
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.
-f <file>
Reads commands from <file>. Used for running commands in batch mode.
NOTE: You may use “
-
“ for stdin, such as cli -f -.
-c <file>
Used for running cli.conf from <file> when cli.conf is not under the default path: /etc/
cacpd.
-p <file>
Used for running param.conf from <file> when param.conf is not under the default
path: /etc/cacpd.
-m <file
>
Used for running modules.conf from <file> when modules.conf is not under the default
path: /etc/cacpd.
Summary of Contents for MERGEPOINT 53XX SP MANAGER
Page 1: ...MERGEPOINT 53XX SP MANAGER Installer User Guide...
Page 12: ...x MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 14: ...xii MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 22: ...8 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 80: ...66 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 96: ...82 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 138: ...124 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 160: ...146 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 202: ...188 MergePoint Service Processor Manager SP53XX Installer User Guide...
Page 203: ......
Page 204: ...For Technical Support www avocent com support 590 839 501D...