Using the Cisco IOS CLI
Getting Help
Command Modes
Table 2-2
Common Command Modes
Command Mode
User EXEC
Privileged EXEC
Catalyst 4224 Access Gateway Switch Software Configuration Guide
2-6
Use the question mark (?) and arrow keys to help you enter commands, as follows:
For a list of available commands, enter a question mark, for example:
•
Gateway> ?
To complete a command, enter a few known characters followed by a
•
question mark (with no space), for example:
Gateway> s?
For a list of command variables, enter the command followed by a space and
•
a question mark, for example:
Gateway> show ?
To redisplay a command you previously entered, press the Up Arrow key.
•
You can continue to press the Up Arrow key for more commands.
The Cisco IOS interface is divided into different modes. Each command mode
permits you to configure different components on your gateway. The commands
available at any given time depend on which mode you are currently using.
Entering a question mark (?) at the prompt displays a list of commands available
for each command mode.
Access Method
Log in.
From user EXEC mode,
enter the enable command.
Chapter 2
Table 2-2
lists the most common command modes.
Gateway Prompt
Displayed
hostname>
The default is
router>
hostname#
The default is
router#
Configuring for the First Time
Exit Method
Use the logout command.
To exit to user EXEC
mode, use the disable,
exit, or logout command.
OL-2031-02