Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Step 6 Change the name of the gateway to a meaningful name:
Router(config)# hostname Gateway
Gateway(config)#
Step 7 Create a secret password. This password provides access to privileged EXEC mode. Substitute your enable secret password for guessme.
Gateway(config)# enable secret guessme
Step 8 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
Step 9 Configure debugging messages to include milliseconds in the date and time stamp:
Gateway(config)# service timestamps debug datetime msec
Step 10 Configure logging messages to include milliseconds in the date and time stamp:
Gateway(config)# service timestamps log datetime msec
Step 11 Enter line configuration mode to configure the console port. You are in line configuration mode when the prompt changes to
Gateway(config)#
Step 12 Prevent the gateway’s EXEC facility from timing out if you do not type any information on the console screen for an extended period:
Step 13 Exit line configuration mode:
Gateway(config)#
Step 14 Return to privileged EXEC mode:
Gateway(config)#
Gateway#
Step 15 Save the configuration:
Gateway# write memory
Building configuration ...
[OK]
Gateway#
Verifying the Hostname and Passwords
To verify that you configured the right hostname and passwords, follow these steps:
Step 1 Enter the show configuration command:
Gateway# show configuration
Using 1888 out of 512000 bytes
!
version XX.X
.
.
37