Download presentation
Presentation is loading. Please wait.
1
Net 412 (Practical Part) LAB 3 - Telnet
Networks and Communication Department LAB 3 - Telnet
2
Goals This lab is going to demonstrate how to configure and enable telnet on Cisco router and switches. The Telnet is an old and non secure application protocol of remote control services. You can configure telnet on all Cisco switches and routers with the following step by step guides. But it’s not the best way on the wide area network. Networks and Communication Department
3
Topology Networks and Communication Department
4
Enable Telnet on Cisco Router
Open the packet tracer. Add 1 PC , 1 switch general-pt,1router general-pt Link all the devices together type of link copper cross . Configure Ip address for all Network like topology above Networks and Communication Department
5
Configure pc 0 Networks and Communication Department
6
Configure R0 Router>en Router#conf t
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int f0/0 Router(config-if)#no shut Router(config-if)#ip add Router(config-if)#exit Networks and Communication Department
7
Configure R0 Router(config)#line vty 0 4
Router(config-line)#password pass123 Router(config-line)#login Router(config-line)#logging synchronous Router(config-line)#exec-timeout 40 Router(config-line)#motd-banner Router(config-line)#exit Router(config)#enable password pass123 Router(config)#exit Networks and Communication Department
8
Configure R0 The “line vty” command enable the telnet and the “0″ is just to start a session to the router. The “password” command is set to “Pass123” as password for telnet. The “login” command authenticate and ask you the password of telnet. If you type “no login” command, the telnet never authenticate for password which is not a good practice in real network environment. The “logging synchronous” command stops any message output from splitting your typing. The “exec-timeout” command just sets the time-out limit on the line from the default to “40″ minutes. The motd-banner forces a banner message to appear when logging in. Now the Telnet services is enabled successfully. But you must set the enable password for router in order to control it remotely line vty : logical "connection points" to the router, that are used by Telnet as well as SSH to remotely access your router. Some routers and switches, can support more than just the 5 ( 0-4 ). If a device has lines VTY 0 - 4, 5 users can access through telnet at the same time EXEC timeout close the connection after 40 minutes of inactivity logging synchronous : do not show output info when your typing into the console so that making you loose your place and unable to see what you are typing in. Networks and Communication Department
9
Testing Telnet Connectivity
Now from a client PC test the telnet connectivity and to insure that it works fine or not yet. Let’s test telnet from the admin PC. Type telnet and press enter, then enter the telnet password. Next type enable command and press enter, then type the router password. Networks and Communication Department
10
Test PC 0 Packet Tracer PC Command Line 1.0 PC>telnet Trying …Open User Access Verification Password: // here you write pass123 R1>enable Password: // here you write pass123 R1# Now you are remotely connected to router R1 and you can execute all router commands through telnet command line interface. Networks and Communication Department
11
Test PC0 Networks and Communication Department
12
Test PC0 Networks and Communication Department
13
The End Any Questions ? Networks and Communication Department
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.