Configuring a Host Name and Password

Configuring a Host Name and Password

One of the first configuration tasks you might want to perform is to configure a host name and set an encrypted password. Configuring a host name allows you to distinguish multiple Cisco uBR900 series cable access routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.

Note Passwords are case sensitive.

To configure a host name and an encrypted password for a Cisco uBR900 series cable access router, perform the following tasks, starting in global configuration mode:

Step

Command

Purpose

1

uBR924(config)# hostname cisco

Change the name of the uBR900 series to a meaningful

 

cisco(config)#

name. Substitute your host name for cisco.

 

 

 

2

cisco(config)# enable secret guessme

Enter an enable secret password. This password provides

 

 

access to enable (privileged EXEC) mode.

 

 

After configuring a password, when you enter enable at

 

 

the EXEC prompt, you must enter the enable secret

 

 

password to gain access to configuration mode. Substitute

 

 

your enable secret password for guessme.

 

 

 

3

cisco(config)# line console 0

Enter line configuration mode to configure the console

 

 

port.

cisco(config-line)# exec-timeout 0 0

cisco(config-line)# exit cisco(config)#

Prevent the 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.

Verifying the Host Name and Password

To verify that you configured the correct host name and password, enter the show running-configcommand from global configuration mode:

cisco(config)# show running-config

Using 1888 out of 126968 bytes

!

version XX.X

.

.

!

hostname cisco

!

enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/

Check the host name and encrypted password displayed near the top of the command output.

Configuring the Cisco uBR900 Series Cable Access Routers 37

Page 37
Image 37
Cisco Systems UBR900 Configuring a Host Name and Password, Step Command Purpose, Ciscoconfig# enable secret guessme