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.
Содержание 7950 XRS Series
Страница 8: ...Page 8 7950 SR OS Basic System Configuration Guide List of Tables...
Страница 10: ...Page 10 7950 SR OS Basic System Configuration Guide List of Figures...
Страница 14: ...Preface Page 14 7950 SR OS Basic System Configuration Guide...
Страница 46: ...VI Editor Page 46 7950 SR OS Basic System Configuration Guide...
Страница 76: ...File Management Tasks Page 76 7950 SR OS Basic System Configuration Guide...
Страница 78: ...File Command Reference Page 78 7950 SR OS Basic System Configuration Guide...
Страница 92: ...Basic Command Reference Page 92 7950 SR OS Basic System Configuration Guide show system candidate...
Страница 172: ...Basic CLI Commands Page 172 7950 SR OS Basic System Configuration Guide...
Страница 184: ...Configuration Notes Page 184 7950 SR OS Basic System Configuration Guide...
Страница 214: ...DNS Configuration Commands Page 214 7950 SR OS Basic System Configuration Guide...
Страница 220: ...Show Commands Page 220 7950 SR OS Basic System Configuration Guide...
Страница 494: ...System Commands Page 494 7950 SR OS Basic System Configuration Guide...
Страница 500: ...Standards and Protocols Page 500 Standards and Protocols...
Страница 502: ...Index Page 502 7950 SR OS Basic System Configuration Guide system parameters 252 system time elements 256 timing 294...