Configuring The Host Name And Password; Verifying The Host Name And Password - Cisco 2620 Configuration Manual

Software configuration guide
Hide thumbs Also See for 2620:
Table of Contents

Advertisement

Configuring the Host Name and Password

Note
If you skipped the previous chapter,
never configured a Cisco router, go back to that chapter and read it now. The chapter contains important
information you need to successfully configure your router.
Configuring the Host Name and Password
One of the first configuration tasks you might want to do is configure the host name and set an encrypted
password. Configuring a host name allows you to distinguish multiple Cisco routers from each other.
Setting an encrypted password allows you to prevent unauthorized configuration changes.
Command
Step 1
Router> enable
Password: password
Router#
Step 2
Router# configure terminal
Enter configuration commands, one per line.
End with CNTL/Z.
Router(config)#
Step 3
Router(config)# hostname Router
Router(config)#
Step 4
Router(config)# enable secret guessme
Step 5
Router(config)# line con 0
Router(config-line)# exec-timeout 0 0
Router(config-line)# exit
Router(config)#

Verifying the Host Name and Password

To verify that you configured the correct host name and password:
Step 1
Enter the show config command:
Router(config)# show config
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-2
Chapter 3
Chapter 2, "Using the Setup Command Facility,"
Purpose
Enter enable mode. Enter the password.
You have entered enable mode when the prompt
changes to
Router#
Enter global configuration mode. You have
entered global configuration mode when the
prompt changes to
Change the name of the router to a meaningful
name. Substitute your host name for
Enter an enable secret password. This password
provides access to privileged EXEC mode. When
a user types enable at the EXEC prompt
(
), they must enter the enable secret
Router>
password to gain access to configuration mode.
Substitute your enable secret for
Enter line configuration mode to configure the
console port. When you enter line configuration
mode, the prompt changes to
Router(config-line)#
Prevent the router's EXEC facility from timing
out if you do not type any information on the
console screen for an extended period.
Exit back to global configuration mode.
Configuring with the Command-Line Interface
and you have
.
Router(config)#.
Router
.
guessme
.
.
OL-1957-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents