Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

"Authorization Failed" Error recovering 3750 password

trying to recover password on a

3750-48TS-E. i initialized the flash, loaded helper, renamed config.text, etc,etc, now when i try to configure teminal i get an "Authorization Failed" error...........what to do?

13 REPLIES
Hall of Fame Super Bronze

Re: "Authorization Failed" Error recovering 3750 password

After renaming the config.text and doing the 'boot', the running-configuration should be empty.

Is that the case here ?

Did you copy the renamed config to running-config ?

If so, it will bring the AAA configuration into running-configuration.

Do a more flash:[config.file], copy the configuration onto an editor and remove the authentication part, then paste the modified configuration into running-config.

Community Member

Re: "Authorization Failed" Error recovering 3750 password

yes i renamed and copied the config to running config. i've never done a more flash:[config.file], how to?

Hall of Fame Super Bronze

Re: "Authorization Failed" Error recovering 3750 password

more is a command to display the content of the file in the router's CLI.

dir flash:config.text

Directory of flash:/config.text

5 -rwx 2129 Mar 1 1993 00:02:50 +00:00 config.text

sw1#more flash:config.text

!

version 12.2

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

.........

Hall of Fame Super Gold

Re: "Authorization Failed" Error recovering 3750 password

Larry

I am a bit confused about what is going on. As Edison has pointed out if you rename the config file and boot then you should come up with an essentially empty config (especially the config should not have aaa authorization commands in it). But the symptoms of getting authorization failed would indicate that that it is executing aaa authorization commands. Can you clarify the steps that you have taken that lead to these symptoms?

HTH

Rick

Community Member

Re: "Authorization Failed" Error recovering 3750 password

Hi Rick, well,

flash_init

load_helper

then I check "dir flash:"

rename flash:config.text flash:config.text.old

boot

type "no" for config dialog

type "enable"

rename flash:config.text.old flash:config.text

copy flash:config.text system:running-config

Source filename [config.text]?

Destination filename [running-config]?

Press Return

configure terminal

that is when I get the Authorization Failed error. plus when I try the "more" command, i get the same error

Hall of Fame Super Gold

Re: "Authorization Failed" Error recovering 3750 password

Larry

Thanks for the additional information. I believe that the issue is that when you do this step:

copy flash:config.text system:running-config

that it brings the original config, including its aaa authentication and aaa authorization commands into the running config. And there is some issue with the aaa authorization command.

I wonder if the solution might be to do a copy and paste of parts of the original config (to get the functions that you need) and to make appropriate modifications in the aaa commands before you paste them into the running config?

HTH

Rick

Hall of Fame Super Bronze

Re: "Authorization Failed" Error recovering 3750 password

Larry,

Please follow these steps in your instructions:

flash_init

load_helper

then I check "dir flash:"

rename flash:config.text flash:config.text.old

boot

type "no" for config dialog

type "enable"

more flash:config.text.old

copy and paste the output onto notepad

remove the aaa entries

copy and paste the modified config onto the router in configuration mode

then do a write memory

No need to rename the file back.

Community Member

Re: "Authorization Failed" Error recovering 3750 password

Ed, the output is QUITE long. Is there an easier way to capture the complete file than to copy/paste screen by screen?

larry

Hall of Fame Super Bronze

Re: "Authorization Failed" Error recovering 3750 password

Your terminal application should give you an option to save the output to a file.

Community Member

Re: "Authorization Failed" Error recovering 3750 password

Ed, i got it but the file is 20 pages long.

it list a revision history, new switch steps,misc global controls,ip specific global commands,spanning tree global commands, aaa new-model (!defined shared key)(!ordinary logins)(!priv access)(!require Authorization WHENEVER user issues a command)(aaa auth network)(aaa auth exec)(aaa accounting exec)then all commands per port........

Hall of Fame Super Bronze

Re: "Authorization Failed" Error recovering 3750 password

On that file, just remove the aaa entries and copy and paste it back onto the switch while in configuration mode.

Community Member

Re: "Authorization Failed" Error recovering 3750 password

Thanks Ed, I'll give it a shot............

Thanks for all the help.........

Community Member

Re: "Authorization Failed" Error recovering 3750 password

Ed, Rick, Thanks for all the help. I can finally get this thing off my bench.

Larry

2334
Views
5
Helpful
13
Replies
CreatePlease to create content