3-2
Cisco VG202 and Cisco VG204 Voice Gateways Software Configuration Guide
OL-16191-01
Chapter 3 Configuring with the Command-Line Interface
Configuring the Hostname and Password
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
hostname
name
4.
enable secret password
5.
line configuration
line
6.
exec-timeout
minutes seconds
7.
exit
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
VG# enable
Enters privileged EXEC mode.
Step 2
configure terminal
Example:
VG# configure terminal
Enters global configuration mode. You have entered
global configuration mode when the prompt changes to
VG(config)#.
Step 3
hostname
name
Example:
VG(config)# hostname VG204
Changes the name of the Cisco VG to a meaningful
name.
Step 4
enable secret password
Example:
VG(config)# enable secret guessme
Enters an enable secret password. This password
provides access to privileged EXEC mode. When you
press
enter
at the user EXEC prompt
(
VG>
), you must enter the enable secret password to gain
access to configuration mode. Substitute your enable
secret password for
guessme
.
Step 5
line configuration
line
Example:
VG(config)# line configuration 0
Enters line configuration mode to configure the console
port. When you enter line configuration mode, the
prompt changes to
VG(config-line)#
.
Step 6
exec-timeout
minutes seconds
Example:
VG(config-line)# exec-timeout 0 0
Prevents the Cisco VG’s EXEC facility from timing out
if you do not type any information on the console screen
for an extended period.
Step 7
exit
Example:
VG(config-line)# exit
Exits to global configuration mode.