Vaibhav Singh

Blog - vaibhavsingh.com

Everyday Cisco IOS CLI tips

Mistypes holding up work

This is often an annoying problem. Mistype a command and the router thinks you just typed a host name. For example, here we just mistyped the word “show”. We didn’t want to telnet to a device named “shwo”.

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

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

Problem is fixed

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

Quick command line shortcuts

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top