7210 SAS-MXP, R6, R12, S, SX, T BASIC SYSTEM
CONFIGURATION GUIDE RELEASE 22.9.R1
CLI usage
| | +---interval <seconds>
| | | no interval
| | +---minute {<minute-number> [..<minute-number>]|all}
| | | no minute
| | +---month {<month-number> [..<month-number>]|<month-name> [..<month-nam>]|all}
| | | no month
| | +---no shutdown
| | | shutdown
| | +---type <schedule-type>
| | +---weekday {<weekday-number> [..<weekday-number>]|<day-name> [..<day-nme>]|all}
|...
2.4 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.
Because there can be a large number of sublevels in the CLI, the environment command reduced-
promptno of nodes in prompt allows the user to control the number of levels displayed in the prompt.
All special characters (#, $, and so on) 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.
Example
*A:ALU-7210>config>router# interface "primary#1"
When changes are made to the configuration file a ‟*” appears in the prompt string (*A:ALU-7210)
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.
2.5 Displaying configuration contexts
The info and info detail commands display configuration for the current level. The info command displays
non-default configurations. The info detail command displays the entire configuration for the current level,
including defaults. The following example shows the output that displays using the info command and the
output that displays using the info detail command.
2.6 EXEC files
The exec command allows the user to execute a text file of CLI commands as if it were typed at a console
device.
3HE 18197 AAAB TQZZA
© 2022 Nokia.
Use subject to Terms available at: www.nokia.com/terms/.
35
SPACER TEXT