You are on page 1of 7

Configuring Telnet Using a c

Password
KHAWAR BUTT
CCIE # 12353 [R/S, SECURITY, SP, DC, VOICE, STORAGE & CCDE]
Overview
 Remote Management using Telnet
 Configuring Telnet for Remote Management using a Password
c
Lab Diagram
PC PC

Switch Switch
c

192.168.1.0/24 192.168.2.0/24
Ethernet 0/0 Ethernet 0/0
Serial 1/0 Serial 1/0

Console R1 192.168.12.0/24 R2

MGMT
PC
Telnet Authentication
 In order to configure Telnet, you need to enable it on the Virtual Terminal
Line (VTY).
c
 On the older IOSs, it was enabled by default. On the newer IOS, you need to
enable it.

 Besides enabling the protocol, you also need to configure a password for the
VTY line and an enable password.
Configuring Telnet Authentication
 Configure R1 and R2 to communicate to each other over the Serial Link using the Diagram.
 Configure Telnet on both routers. Configure the enable secret password as cisco111 and the Telnet password as ccna111

R1 R2
c
Router#config t Router#config t
Router(config)#hostname R1 Router(config)#hostname R2
R1(config)#Interface S 1/0 R2(config)#Interface S 1/0
R1(config-if)#ip address 192.168.12.1 255.255.255.0 R2(config-if)#ip address 192.168.12.2 255.255.255.0
R1(config-if)#no shut R2(config-if)#no shut
R1(config-if)#exit R2(config-if)#exit
R1(config)#line vty 0 4 R2(config)#line vty 0 4
R1(config-line)#password ccna111 R2(config-line)#password ccna111
R1(config-line)#login R2(config-line)#login
R1(config-line)#transport input telnet R2(config-line)#transport input telnet
R1(config-line)#exit R2(config-line)#exit
R1(config)#enable secret cisco111 R2(config)#enable secret cisco111
Verifying Remote Management using Telnet
Telnet into R2 from R1 by using the following

R1#telnet 192.168.12.2

It should prompt you for a password. This is the cTelnet password. Type ccna123 as the password.

You should be at the User Exec Mode “>”. This is the default mode for Remote Management.

Type “Enable” to move to Privilege Exec Mode.

You will be prompted for a password. This is the enable password. This is required to be set for
Remote management. Type cisco111 as the enable password. You Should be at the Privilege Exec
Mode “#”.

You can manage the router as if you were connected directly to the console.
Whiteboard

You might also like