Sie sind auf Seite 1von 2

How To Configure Telnet On Cisco Switches?

CCNA
DECEMBER 31, 2016 RAHULLEAVE A COMMENT ON HOW TO CONFIGURE TELNET ON CISCO
SWITCHES?
This article is all about telnet configuration on Cisco switches. In this tutorial,
we will learn about how to configure telnet on a switch. Now in this tutorial, we
configure telnet services on a switch to access it from anywhere remotely. This
configuration is same as well as we configure telnet on the routers. Suppose you
are a network admin in a company and you are on a leave and the switch you want to
configure, manage and monitor are at another place. Then you can monitor and manage
your switch remotely through telnet without going physically at that place. That
means telnet is basically a remote login program which provides you a remote access
to a switch and a router which helps us to manage any device remotely.

Also Read: How to configure ssh on a switch?


Now we take lab in Cisco packet tracer, where we take a switch and two PCs and
configure telnet on the switch. So let�s start here how to configure telnet on the
switch.

telnet configuration on the switch

configuration on the switch

Now we configure our switch by these below-given codes. First of all, we create a
VLAN on the switch and give it to an interface because without an IP address we do
not configure telnet on a switch and we do not use telnet service without an IP
address so, first of all, we always create a VLAN on the switch then we configure
telnet on that specific switch. So, let�s start here by using given below codes.

Switch>enable

Switch#configure terminal

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

Switch(config)#hostname S1

S1(config)#interface vlan 1

S1(config-if)#ip address 192.168.1.1 255.255.255.0

S1(config-if)#no shut

S1(config-if)#

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

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

S1(config-if)#exit

S1(config)#line vty 0 5

S1(config-line)#password technohelper24

S1(config-line)#login

S1(config-line)#exit
By using these codes on your switch you will be able to configure telnet on your
switch and manage this switch remotely from anywhere anytime and monitor your
switch anytime.

After configuring your switch successfully now give IP addresses to the PCs
manually by using the static method in it. because we do not use a DHCP server in
this lab so we use a static method for giving the IP address to both PCs.

Now we learn how to access a switch from a PC through telnet.

By using given below codes you will be able to remotely access a switch from
anywhere and easily manage and monitor this switch

Now, first of all, go to any PC then open the command prompt on that PC and then
type these given below codes to access switch remotely.

Packet Tracer PC Command Line 1.0

PC>telnet 192.168.1.1

Trying 192.168.1.1 �Open

User Access Verification

Password:

S1>show arp

Protocol Address Age (min) Hardware Addr Type Interface

Internet 192.168.1.1 � 0001.4374.B683 ARPA Vlan1

Internet 192.168.1.2 10 0060.7075.E6EC ARPA Vlan1

Internet 192.168.1.3 2 0030.A37C.1523 ARPA Vlan1

THAT�S IT

Now, these results show that your switch will be configured successfully now you
can manage your switch by remote login from anywhere and anytime. If you have any
queries regarding this comment below.
If you want to saw this process in video format click on given below link or go to
my youtube channel Technohelper24 com