36
Step7 Create a secret password. This password provides access to privileged EXEC mode. Substitute your enable secret
password for guessme.
Gateway(config)# enable secret guessme
Step8 Enable password encryption. When password encryption is enabled, the encrypted form of the password is displayed
when a show configuration command is entered. You cannot recover a lost encrypted password.
Gateway(config)# service password-encryption
Step9 Configure debugging messages to include milliseconds in the date and time stamp:
Gateway(config)# service timestamps debug datetime msec
Step10 Configure logging messages to include milliseconds in the date and time stamp:
Gateway(config)# service timestamps log datetime msec
Step11 Enter line configuration mode to configure the console port. You are in line configuration mode when the prompt
changes to Gateway(config-line)#.
Gateway(config)# line con 0
Step12 Prevent the gateway’s EXEC facility from timing out if you do not type any information on the console screen for an
extended period:
Gateway(config-line)# exec-timeout 0 0
Step13 Exit line configuration mode:
Gateway(config-line)# exit
Gateway(config)#
Step14 Return to privileged EXEC mode:
Gateway(config)# Ctrl-Z
Gateway#
Step15 Save the configuration:
Gateway# write memory
Building configuration ...
[OK]
Gateway#
Verify
To verify that you configured the right host name and passwords:
Enter the show configuration command:
Gateway# show configuration
Using 1888 out of 512000 bytes
!
version XX.X
.
.
!
hostname Gateway
!
enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/
.
Exit privileged EXEC mode and attempt to log in using the new enable secret password. The show privilege command shows
the current security privilege level.
Gateway# exit