Cisco VG224 Software Guide - Page 30

Configuring the Host Name and Password - console settings

Page 30 highlights

Configuring the Host Name and Password Chapter 3 Configuring with the Command-Line Interface Configuring the Host Name and Password One of the first configuration tasks you might want to do is to configure the host name and set an encrypted password. Configuring a host name allows you to distinguish multiple Cisco VG224s and routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes. Command Purpose Step 1 Router> enable Enters enable mode. Enter the password. Password: password Router# You have entered enable mode when the prompt changes to Router#. Step 2 Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Step 3 Router(config)# hostname VG224 Router(config)# Enters global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Changes the name of the Cisco VG224 to a meaningful name. Substitute your host name for Router. Step 4 Router(config)# enable secret guessme Enters an enable secret password. This password provides access to privileged EXEC mode. When you enter enable at the user EXEC prompt (Router> ), you must enter the enable secret password to gain access to configuration mode. Substitute your enable secret password for guessme. Step 5 Router(config)# line con 0 Enters line configuration mode to configure the console port. When you enter line configuration mode, the prompt changes to Router(config-line)#. Router(config-line)# exec-timeout 0 0 Prevents the Cisco VG224's EXEC facility from timing out if you do not type any information on the console screen for an extended period. Router(config-line)# exit Router(config)# Exits back to global configuration mode. Cisco VG224 Voice Gateway Software Configuration Guide 3-2 OL-5005-01

  • 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
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

3-2
Cisco VG224 Voice Gateway Software Configuration Guide
OL-5005-01
Chapter 3
Configuring with the Command-Line Interface
Configuring the Host Name and Password
Configuring the Host Name and Password
One of the first configuration tasks you might want to do is to configure the host name and set an
encrypted password. Configuring a host name allows you to distinguish multiple Cisco VG224s and
routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration
changes.
Command
Purpose
Step 1
Router>
enable
Password:
password
Router#
Enters enable mode. Enter the password.
You have entered enable mode when the prompt
changes to
Router#
.
Step 2
Router#
configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.
Router(config)#
Enters global configuration mode. You have
entered global configuration mode when the
prompt changes to
Router(config)#.
Step 3
Router(config)#
hostname VG224
Router(config)#
Changes the name of the Cisco VG224 to a
meaningful name. Substitute your host name for
Router
.
Step 4
Router(config)#
enable secret guessme
Enters an enable secret password. This password
provides access to privileged EXEC mode. When
you enter
enable
at the user EXEC prompt
(
Router>
), you must enter the enable secret
password to gain access to configuration mode.
Substitute your enable secret password for
guessme
.
Step 5
Router(config)#
line con 0
Router(config-line)#
exec-timeout 0 0
Router(config-line)#
exit
Router(config)#
Enters line configuration mode to configure the
console port. When you enter line configuration
mode, the prompt changes to
Router(config-line)#
.
Prevents the Cisco VG224’s EXEC facility from
timing out if you do not type any information on
the console screen for an extended period.
Exits back to global configuration mode.