beautypg.com

Command syntax, Command abbreviations, Command line prompt – Motorola CAJUN P120 User Manual

Page 52: Command abbreviations command line prompt

background image

Chapter 6

Legacy CLI (Command Line Interface)

38

Cajun P120 User’s Guide

Command Syntax

The CLI may display error messages if it encounters a problem. For details see the
Section “Error Messages” on Page 66.

Command Abbreviations

All commands and parameters in the CLI can be truncated to an abbreviation of 4
characters or less, as long as the abbreviation is not ambiguous. For example,

revision

can be abbreviated

revi

.

For ambiguous commands, type the beginning letters on the command line and
then use the Tab key to toggle through all the possible commands beginning with
these letters.

Command Line Prompt

The default prompt for the Privileged level is

Cajun P120#

, however you may

change Cajun P120 to the text of your choice using the prompt command.

However, once you enter a group of parameters, the prompt will indicate which
group you are in (

group>

). For example, if you are in the IP group then the

prompt appears as

ip>

.

While in a group, all commands that you enter will be performed on this group
only. For example,

ip> show

will only display the current settings for the IP

group.

If you have entered an index value for the group then it will also be indicated at the
prompt. For example,

CajunP120-priv# set P120

will display the

P120>

prompt.

To exit a group and return to the

CajunP120>

or

CajunP120-priv#

prompt,

press Ctrl-Q.