Cisco Tips & Tricks

May 8, 2006

Mistyped Commands

Filed under: Uncategorized — ciscotips @ 9:30 pm

Whenever we mistype something on our router prompt, it’s frustrating to see router taking a long time before coming back to the prompt. 

Sikandar#shwo
Translating "shwo"…domain server (192.168.37.23)
% Unknown command or computer name, or unable to find computer address
Sikandar#

Just with a small mistype, router assumes that we are trying to telnet to the device shwo . To avoid this, we can use a line command transport preferred none.  
! Console port
line con 0
transport preferred none
! VTY Ports
line vty 0 5
transport preferred none

Now see the difference, here it will not try to telnet to the device.Router already knows that this is a mistype rather then any device which we are trying to telnet.

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

Advertisements

2 Comments »

  1. Hi,

    To get the same result, i use the command

    no ip domain lookup

    However, this will disable all DNS resolution of names; so don’t use it if you need that.

    Comment by Arismonty Beato — May 9, 2006 @ 4:36 pm

  2. the solution given by you is excellent,i have gone through lots of cisco materials,but never seen the solution realted to this….Bravo…..
    keep it up

    Comment by Networking Fresher — May 10, 2006 @ 6:17 pm


RSS feed for comments on this post. TrackBack URI

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

Blog at WordPress.com.

%d bloggers like this: