Variables, keywords, global commands, and configuration commands and units are separated by a blank line in the output, in the following order:
values or units (mutually exclusive)
keywords
global commands
configuration commands
[ex:/configure log]
A:admin@node-2# Press Tab
accounting-policy app-route-notifications apply-groups
apply-groups-exclude event-damping event-handling
event-trigger file filter
foo log-events log-id
route-preference services-all-events snmp-trap-group
syslog throttle-rate
back delete edit-config
enable exec exit
history info insert
logout oam ping
pwc pyexec ssh
telnet top traceroute
tree
annotate commit compare
copy discard rename
update validate
[ex:/configure log]
A:admin@node-2# event-damping Press Tab
<event-damping>
false
true
accounting-policy app-route-notifications apply-groups
apply-groups-exclude event-handling event-trigger
file filter log-events
log-id route-preference services-all-events
snmp-trap-group syslog throttle-rate
delete insert
The ? help displays similar information but only displays global or configuration commands at the operational root or at the root of a command context.
[/environment]
A:admin@node-2# ?
command-completion + Enter the command-completion context
console + Enter the console context
message-severity- + Enter the message-severity-level context
level
more - Prompt to continue or stop when output text fills page
progress-indicator + Enter the progress-indicator context
prompt + Enter the prompt context
time-display - Time zone displayed before the prompt
time-format - Time format to display date and time
Global commands:
back - Move back one or more levels
delete - Delete an element
edit-config - Enter a candidate configuration mode
enable - Enable administrative mode
exec - Execute commands from a file
exit - Return to the previous context or to operational root
history - Show the command history
info - Show the information under the present working context
logout - Exit the CLI session
oam - Perform OAM tests
ping - Ping an IP address or DNS name
pwc - Show the present working context
pyexec - Execute a Python application
ssh - SSH to an IP address or DNS name
telnet - Telnet to an IP address or DNS name
top - Move to the top level of the context
traceroute - Show the route taken to an IP address or DNS name
tree - Show the command tree under the present working context
The global commands are not displayed in the environment prompt context, for example, although these commands are still available in the context.
[/environment prompt]
A:admin@node-2# ?
context - Show the current command context in the prompt
newline - Add a new line before every prompt line
timestamp - Show the timestamp before the first prompt line
uncommitted-changes- - Show an asterisk (*) when uncommitted changes exist
indicator
[/environment prompt]
A:admin@node-2# info detail
context true
newline true
timestamp false
uncommitted-changes-indicator true
When a command that is part of a choice of commands is entered at the MD-CLI command prompt, the other mutually exclusive commands are no longer available to be entered on the same prompt line. Other commands that are not associated with the particular choice commands are still available.
In the following example, if either the cir or fir command is entered, the police command is not available. The pir command is available regardless of which choice command is entered.
*[ex:/configure qos sap-ingress "ing-1" queue 1 rate]
A:admin@node-2# ?
pir - Administrative PIR
Choice: rate-cir-fir-or-police
cir :- Administrative CIR
fir - Administrative FIR
police :- Drop the traffic feeding into queue above the PIR rate
*[ex:/configure qos sap-ingress "ing-1" queue 1 rate]
A:admin@node-2# cir max Press Tab
fir pir
delete
Similarly, if the police command is entered, the cir and fir commands are unavailable on the same command prompt line.
*[ex:/configure qos sap-ingress "ing-1" queue 1 rate]
A:admin@node-2# police ?
police - This element has no values
Drop the traffic feeding into queue above the PIR rate
pir - Administrative PIR
*[ex:/configure qos sap-ingress "ing-1" queue 1 rate]
A:admin@node-2# police Press Tab
pir
delete