What is Telnet?

Telnet is a user command and an underlying TCP/IP protocol for accessing remote computers. Through Telnet, an administrator or another user can access someone else's computer or router remotely. On the Web, HTTP and FTP protocols allow you to request specific files from remote computers, but not to actually be logged on as a user of that computer. With Telnet, you access the router from computer on any location


 How to configure Telnet?



here we will access The router from pc

 Here is very simple topology 

  configure the topology as according given pic

task 1  configure ip address on Router interface

task 2  configure ip address on pc

task 3  check the connection between Router to pc

task 4 configure telnet on Router 

task 5 Telnet the router from the pc 


Let's start......


task 1  configure the topology as according given pic

goto Router Start the configuration .....

Router>
Router>en
Router#conf
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int
Router(config)#interface fa
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shu
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

check the interface status .....

 Router(config)#do show ip interface bri

Interface                         IP-Address        OK?    Method     Status                               Protocol
FastEthernet0/0               192.168.1.1       YES     manual     up                                    up
FastEthernet0/1                unassigned        YES     unset       administratively down         down
Router(config)#
Router(config)#


task 2  configure ip address on pc

 

task 3  check the connection between Router to pc

!! ping the pc from the router !!

Router#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms

Router#

task 4 configure telnet on Router

Router(config)#line vty 0 4
Router(config-line)#pas
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#tran
Router(config-line)#transport in
Router(config-line)#transport input ten
Router(config-line)#transport input te
Router(config-line)#transport input telnet
Router(config-line)#
Router(config-line)#exit
Router(config)#enable password CCNA
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

task 5 Telnet the router from the pc 

for Telnet goto command promt



PC>telnet 192.168.1.1
Trying 192.168.1.1 ...Open


User Access Verification

Password:
Router>enable
Password:
Password:
Router#
Router#

Now user can access router from PC