Finding Command Options
This section provides an example of how to display syntax for a command. The syntax can consist of optional
or required keywords and arguments. To display keywords and arguments for a command, enter a question
mark (
?
) at the configuration prompt or after entering part of a command followed by a space. The Cisco IOS
XE software displays a list and brief description of available keywords and arguments. For example, if you
were in global configuration mode and wanted to see all the keywords or arguments for the
arap
command,
you would type
arap ?
.
The <cr> symbol in command help output stands for
“
carriage return.
”
On older keyboards, the carriage return
key is the Return key. On most modern keyboards, the carriage return key is the Enter key. The <cr> symbol
at the end of command help output indicates that you have the option to press
Enter
to complete the command
and that the arguments and keywords in the list preceding the <cr> symbol are optional. The <cr> symbol by
itself indicates that no more arguments or keywords are available and that you must press
Enter
to complete
the command.
The following examples show how you can use the question mark (
?
) to assist you in entering commands.
Table 15: Finding Command Options
Comment
Command
Enter the
enable
command and password to access privileged
EXEC commands. You are in privileged EXEC mode when the
prompt changes to a
“
#
”
from the
“
>
”
; for example, Router> to
Router# .
Router>
enable
Password:
<password>
Router#
Enter the
configure terminal
privileged EXEC command to enter
global configuration mode. You are in global configuration mode
when the prompt changes to Router(config)# .
Router#
configure terminal
Enter configuration commands, one per line. End with
CNTL/Z.
Router(config)#
Enter interface configuration mode by specifying the serial Gigabit
Ethernet interface that you want to configure using the
interface
GigabitEthernet number
global configuration command.
Enter
?
to display what you must enter next on the command line.
When the <cr> symbol is displayed, you can press Enter to
complete the command.
You are in interface configuration mode when the prompt changes
to Router(config-if)# .
The Cisco CSR 1000v supports only Gigabit Ethernet
interfaces.
Note
Router(config)#
interface GigabitEthernet ?
<0-6>
GigabitEthernet interface number
Router(config)#
interface GigabitEthernet 1
Router(config-if)#
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
56
Using Cisco IOS XE Software
Finding Command Options