1-2
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
78-16201-01
Chapter1 Command-Line Interface
How to Find Command Options
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. To display keywords for a command, enter a question mark (?) at the
command prompt or after entering part of a command followed by a space. The Catalyst4500 series
switch software displays a list of available keywords along with a brief description of the keywords. For
example, if you are in global configuration mode and want to see all the keywords for the arap
command, you enter arap ?.
Table1-2 shows examples of how you can use the question mark (?) to assist you in entering commands
and also guides you through entering the following commands:
• interface gigabitethernet 1/1
• channel-group 1 mode auto
Table1-2 How to Find Command Options
Command Purpose
Switch> enable
Password: <password>
Switch#
Enter the enable command and
password to access privileged EXEC
commands.
You are in privileged EXEC mode
when the prompt changes to Switch#.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Enter global configuration mode.
You are in global configuration mode
when the prompt changes to
Switch(config)#.
Switch(config)# interface gigabitethernet ?
<1-9> GigabitEthernet interface number
Switch(config)# interface gigabitethernet 1/1
Switch(config-if)#
Enter interface configuration mode by
specifying the Gigabit Ethernet
interface that you want to configure
using the interface gigabitethernet
global configuration command.
Enter a ? to display what you must
enter next on the command line. In
this example, you must enter an
interface number from 1to 9 in the
format module-number/port-number.
You are in interface configuration
mode when the prompt changes to
Switch(config-if)#.