Using The Question Mark (?) To Display On-Screen Command Help - Cisco XR 12000 Series Getting Started Manual

Hide thumbs Also See for XR 12000 Series:
Table of Contents

Advertisement

CLI Tips and Shortcuts

Using the Question Mark (?) to Display On-Screen Command Help

Use the question mark (?) to learn what commands are available and the correct syntax for a command.
Table 5-1
The space (or no space) before the question mark (?) is significant. If you include a space before the
Tip
question mark, the system displays all available options for a command or CLI mode. If you do not
include a space, the system displays a list of commands that begin with a particular character string.
Table 5-1
On-Screen Help Commands
Command
Description
partial-command ?
Enter a question mark (?) at the end of a partial command to list the commands that begin with those
characters.
RP/0/0/CPU0:router# co?
configure copy
Note
?
Lists all commands available for a particular command mode.
command ?
Include a space before the question mark (?) to list the keywords and arguments that belong to a
command.
RP/0/0/CPU0:router# configure ?
exclusive
terminal
<cr>
Note
command keyword ? Enter a question mark (?) after the keyword to list the next available syntax option for the command.
RP/0/0/CPU0:router# show aaa ?
ikegroup
locald
login
task
taskgroup
trace
userdb
usergroup
Note
Cisco IOS XR Getting Started Guide for the Cisco XR 12000 Series Router
5-94
summarizes the options for on-screen help.
Do not include a space between the command and question mark.
Configure exclusively from this terminal
Configure from the terminal
For most commands, the <cr> symbol indicates that you can execute the command with the
syntax already entered. For the preceding example, press Return to enter global configuration
mode.
Show local IKE group(s)
locald sub system
login sub system
Show task information
Show all the local taskgroups configured in the system
Show trace data for AAA sub system
Show all local users with the usergroups each belong to
Show all the local usergroups configured in the system
Include a space between the keyword and question mark.
Chapter 5
CLI Tips, Techniques, and Shortcuts
OL-24755-01

Advertisement

Table of Contents
loading

Table of Contents