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 uBR924
cable access routers from each other. Setting an encrypted password allows you to prevent
unauthorized configuration changes.
Note
To configure a host name and an encrypted password for a Cisco uBR924 cable access router,
perform the following tasks, starting in global configuration mode:
Step
Command
1
uBR924(config)# hostname cisco
cisco(config)#
2
cisco(config)# enable secret guessme
3
cisco(config)# line console 0
cisco(config-line)# exec-timeout 0 0
cisco(config-line)# exit
cisco(config)#
Verifying the Host Name and Password
To verify that you configured the correct host name and password, enter the show running-config
command 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.
12
Cisco IOS Release 12.0(5)T
Passwords are case sensitive.
Purpose
Change the name of the uBR924 to a meaningful name.
Substitute your host name for cisco.
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.
Enter line configuration mode to configure the console
port.
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.