02-21-2025 08:30 PM
Hi,
I have serially connected to Cisco Catalyst 2960 and tried:
VS2(config)#show interface
^
% Invalid input detected at '^' marker.
VS2(config)#show?
% Unrecognized command
VS2(config)#show
^
% Invalid input detected at '^' marker.
VS2(config)#enable
% Incomplete command.
VS2(config)#enable
% Incomplete command.
VS2(config)#interface serial COM3
^
% Invalid input detected at '^' marker.
VS2(config)#interface
% Incomplete command.
VS2(config)#interface
% Incomplete command.
VS2(config)#inteface?
% Unrecognized command
VS2(config)#inteface
^
% Invalid input detected at '^' marker.
VS2(config)#configure
^
% Invalid input detected at '^' marker.
VS2(config)#configure terminal
^
What's the problem?
02-21-2025 10:25 PM
- Most of those commands are not intended to work in config mode , you can try to prepend them with 'do':
such as do show interface ,
M.
02-21-2025 11:49 PM - edited 02-21-2025 11:53 PM
Hello @wiktor-kredzinski
All the command you test need to be executed in privileged exec mode....not in Global configuration mode.
As @marce1000 mentioned, if you add the key word "do" it should be executed even if you are not in the good prompt command.
Also, take care of what you enter:
VS2(config)#inteface?
Instead of interface...
switch>enable
switch#conf t
switch#(config)
02-22-2025 05:10 AM
A couple of footnotes about the "do" configuration command.
I recall it being a later addition, so on a very old IOS version, it might not be present. Such might be the case on some 2960s.
Second, I recall the do command may not support command completion (tab) or the question mark. I.e. it may require you to enter the command correctly without any command line assistance.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide