The CLI Command Prompt
Page 28
7950 SR OS Basic System Configuration Guide
The CLI Command Prompt
By default, the CLI command prompt indicates the device being accessed and the current CLI
context. For example, the prompt:
A:ALA-1>config>router>if#
indicates the active context, the
user is on the device with hostname ALA-1 in the
configure>router>interface
context. In the
prompt, the separator used between contexts is the “
>
”
symbol.
At the end of the prompt, there is either a pound sign (“
#
”
)
or a dollar sign (“
$
”
)
. A “
#
” at the end
of the prompt indicates the context is an existing context. A “
$
” at the end of the prompt indicates
the context has been newly created. New contexts are newly created for logical entities when the
user first navigates into the context.
Since there can be a large number of sublevels in the CLI, the
environment
command
reduced-
prompt
no of nodes in prompt
allows the user to control the number of levels displayed in the
prompt.
All special characters (#, $, etc.) must be enclosed within double quotes, otherwise
it is seen as a
comment character and all characters on the command line following the # are ignored.
For example:
*A:ALA-1>config>router# interface "primary#1"
When changes are made to the configuration file a “*” appears in the prompt string (
)
indicating
that the changes have not been saved. When an admin save command is executed the “*”
disappears. This behavior is controlled in the
saved-ind-prompt
command in the
environment
context.
Summary of Contents for 7950 XRS Series
Page 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Page 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Page 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Page 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Page 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Page 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Page 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Page 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Page 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Page 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Page 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Page 500: ...Standards and Protocols Page 500 Standards and Protocols...