Avocent MERGEPOINT 53XX SP MANAGER User's Guide Page 134

  • Download
  • Add to my manuals
  • Print
  • Page
    / 236
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 133
command line mode, make sure to use the -C option as part of the command line. See CLI
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 -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 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 quit or exit command. You must enter the commit command for
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 -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.
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 -.
Table 7.1: CLI Utility Options
122 MergePoin SP Manager Installer/User Guide
Page view 133
1 2 ... 129 130 131 132 133 134 135 136 137 138 139 ... 235 236

Comments to this Manuals

No comments