Learn how to configure telnet in Cisco switches

This article is all about how to configure telnet server on a switch. In this tutorial, we learn about telnet configuration. But here, first of all, we learn some basic facts about telnet. By using telnet you can easily access your switches and routers from anywhere remotely. This configuration is same as we configure telnet on routers. Basically, telnet is a remote login program which provides you a remote access to a switch and a router also which helps us to manage any device remotely.

Let you are working in a company as an employ and you can manage routers and switches in that company. One day you are on a leave because of some personal reasons. Now suddenly a switch shows error in working in that situation you can easily manage that switch and you can easily troubleshoot that switch from anywhere simply by using telnet service. So telnet is a necessary thing to learn.

Now to understand this configuration perfectly with ease we take a lab in cisco packet tracer and configure telnet on a switch.

configure telnet on a switch

Now first of all before configuring telnet on a switch. First of all, we create a VLAN on any interface of the switch. because telnet is worked on an IP address without an IP address telnet configuration is waste of time. So now we create a VLAN and also set telnet on a switch using given below commands. So let’s start here


Switch#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname R1

R1(config)#interface vlan 1

R1(config-if)#ip address

R1(config-if)#no shut


%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up


R1(config)#line vty 0 5

R1(config-line)#password 3usageeks



By using these commands you will be able to create a VLAN on your switch and also configure telnet on a switch and by using telnet service you can manage your switch anytime from anywhere without any difficulties.

After that configuring telnet on the switch now you give the IP addresses to both the client PCs by using the static method because we do not use DHCP machine in this lab. Now after that, we open check telnet configuration by using telnet services on that switch.

Now here we learn about how to access your switch through telnet from a PC and how to manage a switch using telnet service.

Now to access a switch remotely from a PC using telnet service, first of all, go to any PC which is directly connected to that switch then open command prompt of that PC. Now use given below commands to access that switch on your PC by using telnet service.

Packet Tracer PC Command Line 1.0


Trying …Open

User Access Verification


Now to troubleshoot your telnet configuration again go to switch then use given below command on your switch to troubleshoot and verify your configuration. You can run these commands on your PCs command prompt also.

R1>show arp

Protocol Address Age (min) Hardware Addr Type Interface

Internet – 0001.9756.4394 ARPA Vlan1

Internet 3 00E0.F785.8701 ARPA Vlan1

If you have any queries regarding this feel free to ask through the comment section.
If you want to saw this process in video format click on given below link

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s