Stopping the router from trying to telnet

Moderators: alok, RajeevSinghRathore

Stopping the router from trying to telnet

Postby RajeevSinghRathore on Thu Jul 15, 2010 4:37 pm

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


MyRouter#shwo
Translating "shwo"...domain server (10.1.1.2)
% Unknown command or computer name, or unable to find computer address
MyRouter#

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

The output shows the lack of a failed connection based on our mistyped keyword:


MyRouter#shwo
^
% Invalid input detected at '^' marker.


Take Care
User avatar
RajeevSinghRathore
 
Posts: 81
Joined: Sun Jan 18, 2009 2:21 pm

Return to Cisco Room

Who is online

Users browsing this forum: No registered users and 0 guests

cron