See “Environment commands” in the 7450 ESS, 7750 SR, 7950 XRS, and VSR MD-CLI User Guide for more information.
Enter the environment configuration context
16.0.R1
All
Enter the command-alias context
Commands in this context create aliases to existing MD-CLI commands or to Python scripts.
Aliases may be mounted for use globally or for selected context paths. Arguments and output modifiers may be provided to aliases at configuration or run time.
21.7.R1
All
Enter the alias list instance
environment command-alias alias string
Commands in this context create aliases to existing MD-CLI commands or to Python applications.
Aliases may be mounted for use globally or for selected context paths. Arguments and output modifiers may be provided to aliases at configuration or run time.
21.7.R1
All
Alias name
environment command-alias alias string
1 to 64
This element is part of a list key.
21.7.R1
All
Administrative state of the alias
environment command-alias alias string admin-state keyword
This command controls the administrative state of the MD-CLI alias.
MD-CLI aliases that are administratively disabled cannot be executed, do not autocomplete in operational mode, and do not appear in ? help.
enable, disable
21.10.R1
All
CLI command to run when executing the alias
environment command-alias alias string cli-command string
1 to 255
The following elements are part of a mandatory choice: cli-command or python-script.
21.7.R1
All
Text description
environment command-alias alias string description string
1 to 110
21.7.R1
All
Add a list entry for mount-point
environment command-alias alias string mount-point (keyword | string)
1
21.7.R1
All
Mount point where alias is available
environment command-alias alias string mount-point (keyword | string)
1 to 255
global
This element is part of a list key.
21.7.R1
All
Python script to run when executing the alias
environment command-alias alias string python-script reference
state python python-script name
The following elements are part of a mandatory choice: cli-command or python-script.
21.7.R1
All
Enter the command-completion context
16.0.R1
All
Complete the command when the Enter key is pressed
environment command-completion enter boolean
true
16.0.R1
All
Complete the command when the Space key is pressed
environment command-completion space boolean
true
16.0.R1
All
Complete the command when the Tab key is pressed
environment command-completion tab boolean
true
16.0.R1
All
Enter the console context
16.0.R1
All
Number of lines displayed on the screen
environment console length number
24 to 512
24
16.0.R1
All
Number of columns displayed on the screen
environment console width number
80 to 512
80
16.0.R1
All
Enter the info-output context
22.2.R1
All
Enter the always-display context
Commands in this context specify elements that are always displayed, regardless of whether they are set to their default value.
22.2.R1
All
Display admin-state elements
When configured to true, the values of the admin-state elements in info output (without the detail option) are always displayed, even if they are the default values.
false
22.2.R1
All
Enter the message-severity-level context
16.0.R1
All
Message severity threshold for CLI messages
environment message-severity-level cli keyword
info
warning, info
16.0.R1
All
Prompt to continue or stop when output text fills page
environment more boolean
true
16.0.R1
All
Enter the progress-indicator context
16.0.R1
All
Administrative state of the progress indicator
environment progress-indicator admin-state keyword
enable
enable, disable
16.0.R1
All
Delay before progress indicator is displayed
environment progress-indicator delay number
0 to 10000
1000
milliseconds
16.0.R1
All
Progress indicator output style
environment progress-indicator type keyword
dots
dots
16.0.R1
All
Enter the prompt context
16.0.R1
All
Show the current command context in the prompt
environment prompt context boolean
true
16.0.R1
All
Add a new line before every prompt line
environment prompt newline boolean
true
16.0.R1
All
Show the timestamp before the first prompt line
environment prompt timestamp boolean
false
16.0.R1
All
Show an asterisk (*) when uncommitted changes exist
true
16.0.R1
All
Enter the python context
21.10.R1
All
Memory reserved per interpreter
environment python memory-reservation number
1 to 500
megabytes
21.10.R1
All
Minimum memory requirement to spawn Python interpreter
5 to 50
percent
21.10.R1
All
Maximum run time before a Python application is stopped
environment python timeout number
30 to 86400
3600
seconds
21.10.R1
All
Time zone to display time
environment time-display keyword
This command configures the time zone for a timestamp displayed in outputs, such as event logs and traps for the current CLI session.
Log files on compact flash are maintained and displayed in UTC format.
local
local, utc
16.0.R1
All
Time format to display date and time
environment time-format keyword
This command specifies the format of the time display in configuration, state, and certain show command output in the current CLI session.
rfc-3339
iso-8601, rfc-1123, rfc-3339
20.5.R1
All