Cyclades AlterPath BladeManager Manual de instrucciones Pagina 157

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 240
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 156
143
CHAPTER
7
Using the cli Utility
cli Utility Overview
An administrator can configure the SP manager using the cli utility. Only one administrator can be
logged into the SP manager at a time. While in the cli utility, an administrator can escape to the
shell and when finished can return to the cli utility.
Administrators often prefer using the cli utility over the Web Manager because they can run
frequently performed cli configuration commands from shell scripts or from text files that can be
executed in batch mode. For example, on an SP manager with 40 private Ethernet ports,
configuring all the SPs one by one could be tedious and prone to error, so scripting the
configuration of multiple SPs is a good use of the cli utility. Example scripts are provided in /
libexec/example_scripts.
The cli utility provides a set of commands (described under cli Commands on page 149) that act on
parameters nested in a format called the CLI parameter tree. Some parameters require arguments
when the parameters are entered with some commands.
NOTE: This section describes the cli commands and how to navigate the cli parameter tree, but it does not
describe all the parameters and values. For examples of how to use the cli command for performing tasks such
as adding users and groups, configuring devices and authentication, see examples in /libexec/example_scripts.
Execution Modes
The cli utility has three modes: a command line mode, interactive mode and batch mode.
Command line mode
Command line mode refers to when the cli utility is invoked on the Linux command line with
options, commands, parameters and values.
The cli utility performs the specified commands, displays any values requested by a command
(such as the get command) and returns the shell prompt. To commit the changes made in command
line mode, make sure to use the
-C option as part of the command line.
Vista de pagina 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 239 240

Comentarios a estos manuales

Sin comentarios