Chapter 3 First-Time Configuration

Configuring the Hostname and Password

Router# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

When the prompt changes to Router(config), you have entered global configuration mode.

Router(config)#

Step 3 Change the name of the router to a meaningful name. Substitute your hostname for Router.

Router(config)# hostname Router

Router(config)#

Step 4 Enter an enable secret password. This password provides access to privileged EXEC mode. When you type enable at the EXEC prompt (Router>), you must enter the enable secret password to access configuration mode. Enter your secret password.

Router(config)# enable secret secret password

Step 5 Exit back to global configuration mode.

Router(config)# exit

Verifying the Hostname and Password

Complete the following steps to verify that you have correctly configured the hostname and password:

Step 1 Enter the show config command:

Router# show config

Using 1888 out of 126968 bytes

!

version XX.X

.

.

.

!

hostname Router

!

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

.

.

.

Step 2 Check the hostname and encrypted password, which appear near the top of the command output. Step 3 Exit global configuration mode and attempt to re-enter it using the new enable password:

Router# exit

.

.Router con0 is now available

Press RETURN to get started.

Router> enable

Password: password

Router#

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

3-6

OL-23826-09

 

 

Page 82
Image 82
Cisco Systems A9014CFD Verifying the Hostname and Password, Exit back to global configuration mode, Router# show config