Cisco Cisco Prisma II EDR Receiver Installation Guide

Page of 184
 
 
 
Using the CLI 
 
78-4025693-01 Rev D 
33 
 
Entering Commands - Non-Modal Format 
A non-modal command is entered all at once, on a single command line. For 
example, the alarm command entered above could have been entered as follows: 
CLI> module chassis 1 slot 6 alarm exit <Enter>
 
No active alarms found
 
Success!
 
CLI>
 
Because of its relative efficiency, this is the preferred command entry format for 
network management systems. Craft operators may also find non-modal command 
entry to be more efficient when they are already very familiar with the syntax of the 
command being used. 
 
Command Syntax 
The general format of a non-modal CLI command, as it usually should be sent from 
a network management system, is as follows: 
modename modeoptions action actionoptions values exit eol
 
where the keywords in the command serve the following functions: 
Keyword 
Function 
modename 
The name of a mode switch:  climoduleicim, or terminal 
modeoptions 
Options that may be associated with the modename 
action 
A command keyword such as setshowinfo, etc. 
actionoptions 
Options that may be associated with the action 
values 
Values that may be associated with the action 
eol 
End of Line, equivalent to Carriage Return or Enter 
exit 
Used to return to CLI command mode 
The general format of a modal CLI command, as a craft operator might send it, is as 
follows: 
ModeName modeOptions eol
 
modeOptions eol
 
modeOptions Action actionOptions Values eol
 
Action actionOptions Values eol
 
Exit eol
 
where the keywords have the same functions as described above for the non-modal 
format.