Telnet configuration in Cisco packet tracer
Telnet – Protocol developed in 1969, allow us to connect to the remote device using the command line interface, telnet protocol is the part of the TCP/IP suite.
To use the telnet, device should have telnet client installed and remote device should be configured to accept telnet connection so most of the devices like servers, router, switches, firewalls etc are configured to allow telnet connection.
We can use any telnet client to establish the connection; one of the famous free telnet clients is putty. Putty is used by many organizations as it is open source and it also works for the SSH connection.
In this packet tracer lab, we will set up a router for the telnet access. And then use the command prompt on the computer to test our telnet connection.
To telnet the router from our PC we will have to assign an IP address to our PC. After that, we will assign the IP address to the router interface which is connected with that PC.
To make the telnet work perfectly, our PC and router should be on the same network as PC and router is connected directly.
After assigning the IP addresses to both our devices, we have to enable the router for a telnet connection by configuring the VTY lines.
We will configure telnet lines 0-15 on the router, which will allow 16 simultaneous telnet connections to the router, this feature is helpful if more than one person wants to login to the device at the same time, this type of practice is common if we have many administrators to look after the device.
Once we have configured both the devices properly, we can try pinging the router from our PC to check the connectivity. If the router is responding to the ping command we can then establish a telnet connection from our PC’s command prompt.
Once the telnet connection is initiated successfully, we will be prompted with the password to access the router via a telnet connection.
An important thing, we have to configure the privileged mode password. That’s because it is not possible to access the privileged mode through a telnet connection if the password for our privileged mode is not configured. If you try to view the same by accessing the router via a telnet connection, you will see an error message saying ‘no password set’ when entering into the privileged exec mode without configuring the password.
Configure Telnet and SSH on Cisco Packet Tracer
To enable telnet or SSH on Cisco router, simply do it with “line vty” command. lets Configure:
First create topology Network. and set a static IP for PC client, router and switch. See the picture below.

Go to Router0 console and configure Hostname, Secret password and telnet with “line vty” command.

- “Enable secret ‘your password’” command for your router password user privileges.
- The “line vty” command enable the telnet and the “0″ is just let a single line or session to the router. If you need more session simultaneously, you must type “line vty 0 10“, its mean 11 client can access telnet.
- 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 “10″ minutes.
Testing Telnet Connectivity.
Let’s test telnet from the admin or client PC. Type telnet 192.168.1.1 and press enter, then enter the telnet username & password. Next type enable command and press enter, then type the router password.

Now you are remotely connected to router R1 and you can execute all router commands through telnet command line interface.
SSH Configuration.

-
“line vte 1 3” <
service password-encryption <
encrypt your SSH password.
Testing SSH Connectivity
From a client PC, open the command line and type “ssh -l budi 192.168.1.1” then press enter.

Now we have connected successfully and the connection is secured with Secure Shell.
How to Configure Telnet in Cisco Packet Tracer
Last Updated: January 15, 2020 , Tolga Bagci
In this article, after creating a small network topology with the Packet Tracer program, we will make a telnet connection to the router over the local network.

How to Enable Telnet on a Cisco Router
Telnet stands for Telecommunication Network. This is the name of a network protocol used to remotely access and operate a computer.
Access to another computer is done in terminal mode (without any graphical interface) and allows remote troubleshooting so that the technician can solve the problem without being physically close to the equipment in question. Telnet also makes it possible to query data remotely or start a session with the UNIX device (in this case, multiple users can log on simultaneously and work with the same computer).
The only disadvantage of Telnet is security. It sends data over the network without encrypting it, allowing spies to access data such as user names and passwords. Therefore, Secure Shell (SSH) emerged as a kind of encrypted telnet in the mid-1990s.
With PT software used to prepare for exams, you can setup Telnet on a Router and access the Router from computers in the work environment.
The biggest benefit of enabling Telnet or SSH protocol is that there is no need to make a console connection to the router. This way, you can easily access and manage the router over the local network via telnet.
Follow the steps below to configure Telnet on the router.
Step 1
After adding a Cisco Router, Switch, and PC on the Packet Tracer workspace, cabling all devices.

Step 2
Double-click Cisco Router1 to open the CLI prompt and type No to skip the initial configuration and press Enter.

Step 3
To enable Telnet on the Router, execute the following commands in order.

Step 4
After configuring the Cisco Router interface, we created a user name and password for the Telnet connection. Before connecting to Cisco Router1, configure the TCP/IP configuration of Desktop1 in the workspace as follows.

Step 5
Click on the PC, click the Desktop tab, and then click CMD Command Prompt.
At the CMD prompt, type telnet 192.168.1.1 and press Enter to connect to the device. Enter the user name and password you created during the setup of the connection.

Step 6
Once connected to the Cisco Router, you can now manage your device by accessing it through LAN or WAN. To view the connections to the device, simply run the show line command.

Step 7
You can review open sessions on the Cisco Router.

Running-Config File
Video
You can watch the video below to connect and manage your Router from your PC via Telnet and also subscribe to our YouTube channel to support us!
Final Word
In this article, we have examined step-by-step on how to configure Cisco Telnet . If you want to disable Telnet, you can execute the transport input ssh command in line vty 0 4. Thanks for following us!
Related Articles
Hello, I’m Tolga! I am a computer specialist who has been specializing in computer technologies for about 20 years. I provide solutions to problems encountered in many areas such as hardware, system, network, virtualization, server systems, and operating systems, and create relevant content on my website by explaining how to solve these problems. My goal is to be a reliable source of expert, quality, and trustworthy solutions for your computer problems. By following innovations and using the latest technologies, I aim to be successful in my job and provide you with the best service. Don’t hesitate to contact me for any questions or curiosity about technology. Have a nice day, stay up to date 🙂
Как настроить telnet cisco packet tracer
To enable telnet or SSH on Cisco router, simply do it with “line vty” command. lets Configure:
First create topology Network. and set a static IP for PC client, router and switch. See the picture below.

Go to Router0 console and configure Hostname, Secret password and telnet with “line vty” command.

- “Enable secret ‘your password’” command for your router password user privileges.
- The “line vty” command enable the telnet and the “0″ is just let a single line or session to the router. If you need more session simultaneously, you must type “line vty 0 10“, its mean 11 client can access telnet.
- 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 “10″ minutes.
Testing Telnet Connectivity.
Let’s test telnet from the admin or client PC. Type telnet 192.168.1.1 and press enter, then enter the telnet username & password. Next type enable command and press enter, then type the router password.

Now you are remotely connected to router R1 and you can execute all router commands through telnet command line interface.
SSH Configuration.

-
“line vte 1 3” <
service password-encryption <
encrypt your SSH password.
Testing SSH Connectivity
From a client PC, open the command line and type “ssh -l budi 192.168.1.1” then press enter.

Now we have connected successfully and the connection is secured with Secure Shell.
Сети для самых маленьких. Часть 1. Подключение к оборудованию Cisco
- цисковский же продукт Packet Tracer, который по идее свободно не распространяется. Это эмулятор и имеет лишь некоторые функции Cisco IOS. Вообще говоря, он сильно ограничен и многие вещи в нём реализованы лишь отчасти. Никаких тонких настроек. С другой стороны к настоящему моменту версия 5.3.2 поддерживает создание GRE-туннелей, протоколов динамической маршрутизации (и в их числе даже BGP!). Притом он очень прост в освоении и имеет в своём арсенале сервера (FTP, TFTP, DHCP, DNS, HTTP, NTP, RADIUS, SMTP, POP3), рабочие станции и свичи. Сейчас уже есть под Linux, хотя в былые времени он прекрасно запускался и из-под Wine.
- распространяемый по лицензии GNU GPL симулятор GNS3. В этом пакете необходимо загружать настоящие образы Cisco IOS. С одной стороны это плюс – вы работаете с настоящим интерфейсом cisco и ограничены лишь своей фантазией, существующими стандартами и производительностью рабочей станции, с другой, во-первых, эти IOS ещё нужно суметь достать, во-вторых, это более сложный продукт для понимания, и в-третьих, в нём есть только маршрутизаторы и «типа» коммутаторы.
-
; в окне управления;
- терминальное подключение с рабочей станции через консольный кабель;
- telnet;
- Telnet/ssh
- Терминальное подключение с рабочей станции через консольный кабель
- Web-интерфейс (Cisco SDM).
Консольный порт RJ-45
Консольный порт miniUSB
Консольный кабель cisco RJ-45/DB9(мама)
Преобразователь USB–RS232
Преобразователь USB–RS232
Преобразователь USB–Ethernet
Packet Tracer. Создание маршрутизатора
Packet Tracer. Создание компьютера
Packet Tracer. Подключение компьютера к маршрутизатору
Packet Tracer. Настройка терминала на компьютере
Packet Tracer. Диалог начальной конфигурации маршрутизатора
Список доступных команд маршрутизатора
- все команды в консоли можно сокращать. Главное, чтобы сокращение однозначно указывало на команду. Например, show running-config сокращается до sh run . Почему не до s r ? Потому, что s (в пользовательском режиме) может означать как команду show , так и команду ssh , и мы получим сообщение об ошибке % Ambiguous command: «s r» (неоднозначная команда);
- используйте клавишу Tab и знак вопроса. По нажатию Tab сокращенная команда дописывается до полной, а знак вопроса, следующий за командой, выводит список дальнейших возможностей и небольшую справку по ним (попробуйте сами в PT);
- используйте горячие клавиши в консоли:
- Ctrl+A — передвинуть курсор на начало строки;
- Ctrl+E — передвинуть курсор на конец строки;
- курсорные Up , Down — перемещение по истории команд;
- Ctrl+W — стереть предыдущее слово;
- Ctrl+U — стереть всю линию;
- Ctrl+C — выход из режима конфигурирования;
- Ctrl+Z — применить текущую команду и выйти из режима конфигурирования;
- Ctrl+Shift+6 — остановка длительных процессов (так называемый escape sequence);
- begin — вывод всех строк, начиная с той, где нашлось слово;
- section — вывод секций конфигурационного файла, в которых встречается слово;
- include — вывод строк, где встречается слово;
- exclude — вывод строк, где НЕ встречается слово.
Настройка доступа по Telnet
Подключение к маршрутизатору через Ethernet
Настройка IP адреса компьютера
Подключение к маршрутизатору через telnet
Вход в пользовательский режим
Вход в привилегированный режим