cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
108
Views
0
Helpful
3
Replies

Why do none of these commands work in config mode?

wiktor-kredzinski
Community Member

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?

3 Replies 3

marce1000
Hall of Fame
Hall of Fame

 

 - 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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

M02@rt37
VIP
VIP

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)

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

Review Cisco Networking for a $25 gift card