1-5
Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide
OL-16191-01
Chapter 1 Understanding Interface Numbering and Cisco IOS Software Basics
Understanding Cisco IOS Software Basics
Timesaver
Each command mode restricts you to a subset of commands. If you are having trouble entering a
command, check the prompt, and enter the question mark (
?
) for a list of available commands. You might
be in the wrong command mode or using the wrong syntax.
In the following example, notice how the prompt changes after each command to indicate a new
command mode:
VG>
enable
Password:
<enable password>
VG#
configure terminal
VG(config)#
interface serial 0/0
VG(config-if)#
line 0
VG(config)#
exit
VG#
%SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press
Return
to get the
VG#
prompt.
Note
You can press
Ctrl-Z
in any mode to immediately return to enable mode (
VG#
), instead of entering
exit
,
which returns you to the previous mode.
Undoing a Command or Feature
If you want to undo a command you entered or disable a feature, enter the keyword
no
before most
commands; for example,
no ip routing
.
Table 1-1
Common Command Modes
Command Mode
Access Method
VG Prompt Displayed
Exit Method
User EXEC
Log in.
VG>
Use the
logout
command.
Privileged EXEC
From user EXEC mode,
enter the
enable
command.
VG#
To exit to user EXEC
mode, use the
disable
,
exit
, or
logout
command.
Global configuration
From the privileged
EXEC mode, enter the
configure terminal
command.
VG(config)#
To exit to privileged
EXEC mode, use the
exit
or
end
command,
or press
Ctrl-Z
.
Interface configuration
From the global
configuration mode,
enter the
interface
type
number
command, such
as
interface
fast ethernet
0/0
.
VG(config-if)#
To exit to global
configuration mode, use
the
exit
command.
To exit directly to
privileged EXEC mode,
press
Ctrl-Z
.