D. M. K. M dissanayake


Configure basic console, auxiliary port, and virtual access lines



Download 409.56 Kb.
View original pdf
Page9/27
Date16.12.2020
Size409.56 Kb.
#54802
1   ...   5   6   7   8   9   10   11   12   ...   27
LABS 1-4 ans 1 2
Configure basic console, auxiliary port, and virtual access lines.
Note: Passwords in this task are set to a minimum of 10 characters but are relatively simple for the benefit of performing the lab. More complex passwords are recommended in a production network.
• Configure a console password and enable login for routers. For additional security, the exec-
timeout command causes the line to logout after 5 minutes of inactivity. The logging
synchronous command prevents console messages from interrupting command entry.
Note: To avoid repetitive logins during this lab, the exec-timeout command can beset to 0 0, which prevents it from expiring. However, this is not considered a good security practice.
R1(config)# line console 0
R1(config-line)# password ciscocon
R1(config-line)# exec-timeout 5 0
R1(config-line)# login
R1(config-line)# logging synchronous When you configured the password for the console line, what message was displayed Password too short - must beat least 10 characters. Password not configured
• Configure anew password of ciscoconpass for the console.
• Configure a password for the AUX port for router R.
R1(config)# line aux 0
R1(config-line)# password ciscoauxpass
R1(config-line)# exec-timeout 5 0
R1(config-line)# login
Telnet from R to RR telnet 10.1.1.1
Were you able to login Why or why not No. No password has been set on the vty lines.
_____________________________________________________________________________
______ What messages were displayed Trying 10.1.1.1 ... Open
Password required, but none set Connection to 10.1.1.1 closed by foreign host
• Configure the password on the vty lines for router R.
R1(config)# line vty 0 4
R1(config-line)# password ciscovtypass
R1(config-line)# exec-timeout 5 0
R1(config-line)# login
• Telnet from R to R again. Were you able to login this time

yes
• Enter privileged EXEC mode and issue the show run command. Can you read the enable secret password Why or why not No. it is encrypted automatically using the MD hash algorithm.
_____________________________________________________________________________
_______ Can you read the console, aux, and vty passwords Why or why not yes. We can read them as they are in open clear text.
_____________________________________________________________________________
_______
• Repeat the configuration portion of steps a through g on router Rb Encrypt clear text passwords.
• Use the service password-encryption command to encrypt the console, aux, and vty passwords.
R1(config)# service password-encryption
Issue the show run command. Can you read the console, aux, and vty passwords Why or why not
__No.They are encrypted
_____________________________________________________________________________
_______ At what level (number) is the enable secret password encrypted __5____________ At what level (number) are the other passwords encrypted ______7________ Which level of encryption is harder to crack and why
_5, because the hashing algorithm is stronger than
7____________________________________________________________________________
________

Configure a Login Warning Banner on Routers Rand Rb

Download 409.56 Kb.

Share with your friends:
1   ...   5   6   7   8   9   10   11   12   ...   27




The database is protected by copyright ©ininet.org 2024
send message

    Main page