Telnet Command on CISCO Router/Switch




Allows you connect to another device remotely. Telnet is an excellent troubleshooting tool that can be used to validate various Layer 7 technologies such as HTTP and Email.

Althoug it is a useful tool for a CCNA, it is important to note that telnet traffic is unsecure. All traffic is sent in plaintext.


Router#telnet <ip address or DNS name>


Router#<ip address or DNS name>

Example 1

This first example illustrates how telnet is not a secure way to access your device. To show this, first we telnet from R1 to R2 using a password of ‘cisco’.

Trying … Open

User Access Verification

Password: *****

Here is a packet capture taken using Wireshark.Notice that the password is visible over several packets.

Example 2

The below example shows how to disconnect from a telnet session that has been paused.

Trying … Open


You can also telnet using a DNS name.

R1(config)#ip host R2

R1#telnet R2
Trying R2 (… Open


You can also specify the source interface that the telnet uses connect to, by default telnet will use the closest interface as per the routing tables.

This is particularlly useful in troubleshooting or verifying proper routing.

R1#telnet /source-interface loopback 0
Trying … Open


You can also use telnet to verify that most layer 7 protocols are working correctly. This includes protocols such as Email, and HTTP. It is also useful for verifying that access-lists are working properly.

2611XM#telnet 80
Translating “”…domain server ( [OK]
Trying (, 80)… Open