10-31-2016 11:50 AM - edited 03-08-2019 07:59 AM
I have a new 2960X(Stack Switch). I copied running config from 3650 and ran it on 2960. the config ran smoothly but now I am not able to run the following commands on the switch:
"show run"
"config t"
Any Idea?
Solved! Go to Solution.
10-31-2016 12:58 PM
How do you access the switch ? Telnet or console access ? This sounds like your access method has been configured with a lower privilege level.
line con 0
privilege level
line vty 0 4
privilege level
Check the running config of the 3650 for these lines.
11-01-2016 05:37 AM
Hi Kashif
Please do not get me wrong. For problems like this, it helps (in a significant way) if you include the session log and the show tech. Otherwise, the responses are going to be speculative in nature. Whenever there is speculation, it is extremely easy to poke holes. Thank you.
At the console, the OS (in this case IOS) is expected to provide some feedback, by default. Please check your config (3650 you copied from or show start from the 2960), to see if "no logging console" is present in the config.
Kindly consider attaching the session log when you type the cmds along with show tech and show log, to help make progress.
Kind regards ... Palani
11-01-2016 08:08 AM
Ok, the problem is very apparent when evidence is included:
SW-MEDCAREEH-2#config t ^ % Invalid input detected at '^' marker. MEDCAREEH-2# SW-MEDCAREEH-2#erase startup config ^ % Invalid input detected at '^' marker. SW-MEDCAREEH-2#reload Translating "reload"
You do not have enough privileges to execute the cmds. Reviewing the config you provided, I see the following:
SW-MEDCAREEH-2(config)#aaa new-model SW-MEDCAREEH-2(config)#aaa authentication login default local SW-MEDCAREEH-2(config)#aaa authorization exec default local
When you copy/paste the config, remove the above cmds (alone) and copy/paste the rest. You should be able to access as you expect.
The aaa cmds especially authorization require a deeper understanding before implementing them.
NOTE: The same cmds are working on the 3650 because it is a (likely) working device and has IP connectivity to the AAA server. The new one 2960 (likely) does not have IP connectivity to the AAA server.
I hope this helps ... Palani
11-01-2016 09:23 AM
Hello Palani
this was a big helps, thank you so much. I know what the problem is now.
I also found this line in the config.
line con 0
exec-timeout 0 0
privilege level 2
thanks for making my life easy :)
10-31-2016 12:58 PM
How do you access the switch ? Telnet or console access ? This sounds like your access method has been configured with a lower privilege level.
line con 0
privilege level
line vty 0 4
privilege level
Check the running config of the 3650 for these lines.
11-01-2016 05:28 AM
I am accessing the switch via console cable. the privilege level is 15. I was able to run the commands the issue occurred after applying the config. I am not able to run the commands like show run,
11-01-2016 05:37 AM
Hi Kashif
Please do not get me wrong. For problems like this, it helps (in a significant way) if you include the session log and the show tech. Otherwise, the responses are going to be speculative in nature. Whenever there is speculation, it is extremely easy to poke holes. Thank you.
At the console, the OS (in this case IOS) is expected to provide some feedback, by default. Please check your config (3650 you copied from or show start from the 2960), to see if "no logging console" is present in the config.
Kindly consider attaching the session log when you type the cmds along with show tech and show log, to help make progress.
Kind regards ... Palani
11-01-2016 08:00 AM
11-01-2016 08:08 AM
Ok, the problem is very apparent when evidence is included:
SW-MEDCAREEH-2#config t ^ % Invalid input detected at '^' marker. MEDCAREEH-2# SW-MEDCAREEH-2#erase startup config ^ % Invalid input detected at '^' marker. SW-MEDCAREEH-2#reload Translating "reload"
You do not have enough privileges to execute the cmds. Reviewing the config you provided, I see the following:
SW-MEDCAREEH-2(config)#aaa new-model SW-MEDCAREEH-2(config)#aaa authentication login default local SW-MEDCAREEH-2(config)#aaa authorization exec default local
When you copy/paste the config, remove the above cmds (alone) and copy/paste the rest. You should be able to access as you expect.
The aaa cmds especially authorization require a deeper understanding before implementing them.
NOTE: The same cmds are working on the 3650 because it is a (likely) working device and has IP connectivity to the AAA server. The new one 2960 (likely) does not have IP connectivity to the AAA server.
I hope this helps ... Palani
11-01-2016 09:23 AM
Hello Palani
this was a big helps, thank you so much. I know what the problem is now.
I also found this line in the config.
line con 0
exec-timeout 0 0
privilege level 2
thanks for making my life easy :)
11-01-2016 09:54 AM
Hi Kashif
You (and gpauwen) were correct. The problem line was privi cmd under line con 0.
Glad it worked out.
Kind regards ... Palani
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