11 Workbook+Warm+Up+Line
11 Workbook+Warm+Up+Line
COM)
Line
Objective 1:
• Configure console password
• Configure console idle timeout
Step 3 – Verification
Click OK
SEAN NING (NINGYIXIAO@GMAIL.COM), MICHAEL BAI (MICHAEL.BAI0117@GMAIL.COM)
Re-login switch by using command “exit”, switch will prompt for password
SEAN NING (NINGYIXIAO@GMAIL.COM), MICHAEL BAI (MICHAEL.BAI0117@GMAIL.COM)
Objective 2:
• Configure Telnet login without username and password
• Configure Telnet login with password
• Configure Telnet login with username and password
Switch(config)#line vty 0 4
Switch(config-line)#password Cisco
Switch(config-line)#login
Objective 3:
• Configure SSH login
Step 1 – Change hostname
IOS not able to generate encryption key using default hostname, system will prompt you an
error message as below, so you need to change hostname.
Switch(config)#hostname SW
There are two command to configure domain “ip domain-name” or “ip domain name”.
There is no difference
SW(config)#line vty 0 4
SW(config-line)#no login
You should be able to login by putting any username even it not exists in the system (e.g.
“ABC”)
Password is needed
Step 9 – Configure username and password, change authentication from “login” to “login
local”
SW(config)#username Cisco password ABC
SW(config)#line vty 0 4
SW(config-line)#login local
SW(config-line)#password Cisco
SEAN NING (NINGYIXIAO@GMAIL.COM), MICHAEL BAI (MICHAEL.BAI0117@GMAIL.COM)
The outcome shows “login local” will force user to authenticate with local database, line
level password not taking effect.
Without any modification, PC_B still able to use Telnet to access the router which is not
secure
Objective 4:
• Use “send” command to display message on different line