Cisco Systems AS5400XM Verifying the Hostname and Passwords, Enter the show configuration command

Models: AS5400XM

1 68
Download 68 pages 41.48 Kb
Page 37
Image 37
Verifying the Hostname and Passwords
line con 0
Gateway(config-line)#.

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 password-encryption

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)#

Gateway(config-line)#

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:

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

Step 13 Exit line configuration mode:

Gateway(config-line)# exit

Gateway(config)#

Step 14 Return to privileged EXEC mode:

Gateway(config)# Ctrl-Z

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

Page 37
Image 37
Cisco Systems AS5400XM quick start Verifying the Hostname and Passwords, Enter the show configuration command