Cisco VG204 Software Configuration Guide - Page 11

Undoing a Command or Feature, Command Mode, Access Method, VG Prompt Displayed, Exit Method - ios gateway example

Page 11 highlights

Chapter 1 Understanding Interface Numbering and Cisco IOS Software Basics Understanding Cisco IOS Software Basics Table 1-1 Common Command Modes Command Mode User EXEC Access Method Log in. VG Prompt Displayed VG> Privileged EXEC From user EXEC mode, VG# enter the enable command. Global configuration Interface configuration From the privileged EXEC mode, enter the configure terminal command. VG(config)# From the global configuration mode, enter the interface type number command, such as interface fast ethernet 0/0. VG(config-if)# Exit Method Use the logout command. To exit to user EXEC mode, use the disable, exit, or logout command. To exit to privileged EXEC mode, use the exit or end command, or press Ctrl-Z. To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-Z. 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: 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. OL-16191-01 Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide 1-5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50

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
.