Cisco Cisco Prisma II EDR Receiver Installation Guide

Page of 184
 
Chapter 3    Operation Using CLI 
 
 
 
32 
78-4025693-01 Rev D 
Selecting Command Modes 
CLI mode is the default command mode at login. A different command mode is 
selected by entering the desired mode name at the CLI command prompt. 
The following sample dialog shows how you would change from CLI mode to 
Module mode: 
CLI> module <Enter>
 
*/* MODULE>
 
You can then use any CLI commands recognized in Module command mode. 
To exit Module mode and return to CLI mode, use the exit command as follows: 
*/* MODULE> exit <Enter>
 
CLI>
 
If desired, you can then change to icim command mode as follows: 
CLI> icim <Enter>
 
ICIM>
 
You cannot change command modes directly, e.g., by typing terminal at the ICIM> 
prompt. Instead, you must change the command mode by first returning to CLI 
mode, and then selecting the new mode, as shown below: 
ICIM> exit <Enter>
 
CLI> terminal <Enter>
 
TERMINAL>
 
Entering Commands - Modal Format 
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 <Enter>
 
*/* MODULE> chassis 1 slot 6 <Enter>
 
01/06 MODULE> alarm <Enter>
 
No active alarms found
 
Success!
 
01/06 MODULE>
 
The first line of this example selects the Module command mode. In the next line, the 
prompt changes to reflect the new command mode. The command on this line 
selects chassis 1, slot 6 as the object of subsequent commands. On pressing Enter, the 
prompt changes from */* MODULE> to 01/06 MODULE> to reflect this selection. 
The next line issues the alarm command. The response on pressing Enter reflects the 
alarm status for all of the modules installed in or daisy-chained with Chassis 1. 
Modal command entry is often helpful for human operators. It can minimize the 
need for keystrokes in some cases, saving time and eliminating a possible source of 
error. Modal operation can also help to streamline the work flow by focusing 
commands and human attention on a particular chassis or module of interest.