Technical data
Chapter 2 Basic Configuration
Basic Configuration with the Cisco IOS CLI
2-18
Software Configuration Guide for the Cisco VG200
78-10322-02
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, which uses the default prompt (router>), notice how the
prompt changes after each command to indicate a new command mode:
router> enable
Password:
<enable password>
router#configure terminal
router(config-if)# line 0
router(config-line)# controller t1 1/0
router(config-controller)# exit
router(config)# exit
router#
%SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press Return to return
to the prompt.
Interface
configuration
From the global
configuration mode,
enter the interface
type number
command, such as
FastEthernet serial
1/0.
hostname
(config-if)#
The default is
router (config-if)#
To exit to global
configuration
mode, use the exit
command.
To exit directly to
privileged EXEC
mode, press Ctrl-Z.
Dial-peer
configuration
From the global
configuration mode,
enter the dial-peer
voice command,
such as dial-peer
voice 1.
hostname(config-
dial-peer)
The default is
router
(config-dial-peer)#
To exit to global
configuration
mode, use the exit
command.
To exit directly to
privileged EXEC
mode, press Ctrl-Z.
Table 2-3 Common Command Modes (continued)
Command
Mode Access Method
Gateway Prompt
Displayed Exit Method