
Cha
te
2 CLI Overview
14 4025561
Rev
Command Syntax
To facilitate its use by both craft operators and remote monitoring systems, the CLI
accepts commands in either of two formats:
A modal command format allows craft operators to first select a command mode,
and then use mode-specific commands and help screens.
A non-modal command format allows an element management system (or a craft
operator) to enter all command parameters, including command mode changes,
on a single line. While only one command may be entered, the command mode
does not need to be changed between commands.
The syntax for these command formats is described below.
Modal Command Syntax
The general format for a modal CLI command, as a craft operator might send it, is as
follows:
modeName modeOptions
modeOptions
modeOptions Action actionOptions Values
Action actionOptions Values
Exit
The parameters in the command have the following functions:
Keyword Function
modeName The name of a mode switch: cli, module, icim, or terminal.
modeOptions Options that may be associated with the modename.
Action A command keyword such as set, show, info, etc.
actionOptions Options that may be associated with the action.
Values Values that may be associated with the action.
Exit Used to return to CLI command mode.
Example
Craft operators typically enter commands modally; that is, by first changing to the
appropriate command mode and then entering the desired command.
The following sample dialog illustrates this process.
CLI> module
*/* MODULE> chassis 1 slot 6
01/06 MODULE> alarm module
No active alarms found for the specified module range
Commentaires sur ces manuels