Stopping the Cisco Router from Trying to TELNET

This How To explains how to fix an annoying default behavior on Cisco IOS.

Mistype a command on a Cisco router and the router thinks you just typed a hostname. This is often an annoying problem. For example:

Translating “shwo”…domain server ( % Unknown command or computer name, or unable to find computer address

Here, we just mistyped the word ‘show’. We didn’t want to telnet to a device named “shwo.” The way to handle this is to change the preferred transport method:

! Console port
line con 0 transport preferred none
! VTY Ports
line vty 0 5 transport preferred none

With those modifications, the output below shows simply that we mistyped a keyword:

         ^ % Invalid input detected at ‘^’ marker.

Leave a Comment

Contact Us Here

Please verify.
Validation complete :)
Validation failed :(
Your contact request has been received. We usually respond within an hour, but please be patient. We will get back to you very soon.
Scroll to Top