Using Cisco IOS Software

Getting Help

Example: How to Find 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 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.

Table 2 shows examples of how you can use the question mark (?) to assist you in entering commands. The table steps you through configuring an IP address on a serial interface on a Cisco 7206 router that is running Cisco IOS Release 12.0(3).

Table 2 How to Find Command Options

Command

 

Comment

 

 

Router> enable

Enter the enable command and

Password: <password>

password to access privileged EXEC

Router#

 

commands. You are in privileged

 

 

 

 

EXEC mode when the prompt changes

 

 

to Router#.

 

 

Router# configure terminal

Enter the configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

privileged EXEC command to enter

Router(config)#

global configuration mode. You are in

 

 

 

 

global configuration mode when the

 

 

prompt changes to Router(config)#.

 

 

Router(config)# interface serial ?

Enter interface configuration mode by

<0-6>

Serial interface number

specifying the serial interface that you

Router(config)# interface serial 4 ?

want to configure using the interface

/

 

 

serial global configuration command.

Router(config)# interface serial 4/ ?

 

<0-3>

Serial interface number

Enter ? to display what you must enter

Router(config)# interface serial 4/0

next on the command line. In this

Router(config-if)#

example, you must enter the serial

 

 

 

 

interface slot number and port number,

 

 

separated by a forward slash.

 

 

You are in interface configuration mode

 

 

when the prompt changes to

 

 

Router(config-if)#.

 

 

 

Cisco IOS IP Configuration Guide

xli

Page 41
Image 41
Cisco Systems 78-11741-02 manual Example How to Find Command Options, Command Comment, Xli