Technical data

Cisco AS5300 Configuration 2-5
Step 1—Configuring the Host Name, Password, and Time Stamps
Step 1—Configuring the Host Name, Password, and Time Stamps
Assign a host name to the Cisco AS5300, enable basic security, and turn on time stamping.
Configuring a host name allows you to distinguish between different network devices. Enable
passwords allow you to prevent unauthorized configuration changes. Time stamps help you trace
debug output for testing connections. Not knowing exactly when an event occurs hinders you from
examining background processes.
Configure
To configure the host name, enable password, and time stamps use the following commands
beginning in user EXEC mode:
Verify
To verify the configuration:
Try logging in with your new enable password. Exit out of enable mode using the disable
command. The prompt changes from hq-sanjose# to hq-sanjose>. Enter the enable command
followed by your password. The show privilege command shows the current security privilege
level.
hq-sanjose# disable
hq-sanjose> enable
Password: letmein
hq-sanjose# show privilege
Current privilege level is 15
hq-sanjose#
Step Command Purpose
1
Router> enable
Enter privileged EXEC mode.
2
Router# configure terminal
Enter configuration commands, one per line. End
with CNTL/Z.
Enter global configuration mode
1
.
1. If the logging output generated by the access server interferes with your terminal screen, redisplay your current command line using the Tab key.
3
Router(config)# hostname hq-sanjose
Assign a host name to the access server
2
.
This host name is typically used during
authentication with PPP peers.
2. The step is verified by the router prompt changing from Router(config)# to hq-sanjose(config)#.
4
hq-sanjose(config)# enable secret letmein
Enter a secret enable password, which
secures privileged EXEC mode
3
.
3. Make sure to change “letmein” to your own secret password.
5
hq-sanjose(config)# service password-encryption
Encrypt passwords in the configuration file
for greater security
4
.
4. Additional measures should be used, as the passwords are not strongly encrypted by today’s standards.
6
hq-sanjose(config)# service timestamps debug datetime msec
hq-sanjose(config)# service timestamps log datetime msec
Enable millisecond time stamping on debug
and logging output. Time stamps are useful
for detailed access troubleshooting.