cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6307
Views
0
Helpful
7
Replies

4506 SupIV confreg=0x2142 does not work

swharvey
Level 3
Level 3

In trying to recover the password on a 4506 w/SupIV running 12.2 IOS, I break the autoboot sequence, and at the rommon type 'confreg 0x2142' but I get a usage:confreg error. I then try 'confreg=0x2142' which it accepts, then a 'reset' but the sytem reloads with a 0x2102 config so the orig config loads. Any ideas?? See set command below:

rommon 4 >set

PS1=rommon ! >

ConfigReg=0x0102

RommonVer=12.2(20r)EW1

BootedFileName=bootflash:cat4500-entservicesk9-mz.122-31.SG.bin

BSI=0

RET_2_RCALTS=

confreg=0x2142

ConsecPostPassedCnt=3

1 Accepted Solution

Accepted Solutions

Hi,

When you are in the rommon mode just type confreg and respond to the prompts as explained in the following link.

http://www.cisco.com/en/US/products/hw/switches/ps663/products_password_recovery09186a00800945f7.shtml

Once you do that the switch should boot without the config and from there proceed with the other usual pw recovery procedures.

Hope that helps!

Regards,

Sundar

View solution in original post

7 Replies 7

swharvey
Level 3
Level 3

Solved it....the autoboot apparently overrides any confreg settings defined by the user, so you have to type 'confreg ' and configure settings for the autoboot.

Hi,

When you are in the rommon mode just type confreg and respond to the prompts as explained in the following link.

http://www.cisco.com/en/US/products/hw/switches/ps663/products_password_recovery09186a00800945f7.shtml

Once you do that the switch should boot without the config and from there proceed with the other usual pw recovery procedures.

Hope that helps!

Regards,

Sundar

Yeah that's what I stumbled onto just before your response, but thanks Sundar very much!

Once you get to this point (below)

do you wish to save this configuration? y/n  [n]:  y
 You must reset or power cycle for new configuration to take effect

There is no need for use confreg 0x2142 any more. Simply reset the switch.

HTH

 

Please - help

Register not change ....

Console  text:

 


rommon 7 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG11
SupportedFeatures=1
Fa1Enable=1
DiagMonitorAction=Normal
DebugCallHome=00000
BOOT=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin,1;
RET_2_RTS=21:59:46 MSK Mon May 23 2016
BootedFileName=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin
RET_2_RCALTS=
ConsecPostPassedCnt=20
ConfigReg=0x0102
rommon 8 >confreg 0x2142
usage: confreg
rommon 9 >confreg

Configuration Summary :
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
enable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: y

change console baud rate? y/n [n]: n

change the boot characteristics? y/n [n]: n

Configuration Summary :
=> ignore system config info
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to save this configuration? y/n [n]: y
You must reset or power cycle for new configuration to take effect


rommon 10 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG11
SupportedFeatures=1
Fa1Enable=1
DiagMonitorAction=Normal
DebugCallHome=00000
BOOT=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin,1;
RET_2_RTS=21:59:46 MSK Mon May 23 2016
BootedFileName=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin
RET_2_RCALTS=
ConsecPostPassedCnt=20
ConfigReg=0x0142
rommon 11 >confreg 0x2000
usage: confreg
rommon 12 >confreg

Configuration Summary :
=> ignore system config info
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
enable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
disable "ignore system config info"? y/n [n]: y

change console baud rate? y/n [n]: n

change the boot characteristics? y/n [n]: n

Configuration Summary :
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to save this configuration? y/n [n]: y
You must reset or power cycle for new configuration to take effect


rommon 13 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG11
SupportedFeatures=1
Fa1Enable=1
DiagMonitorAction=Normal
DebugCallHome=00000
BOOT=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin,1;
RET_2_RTS=21:59:46 MSK Mon May 23 2016
BootedFileName=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin
RET_2_RCALTS=
ConsecPostPassedCnt=20
ConfigReg=0x0102
rommon 14 >confreg 0x2142
usage: confreg
rommon 15 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG11
SupportedFeatures=1
Fa1Enable=1
DiagMonitorAction=Normal
DebugCallHome=00000
BOOT=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin,1;
RET_2_RTS=21:59:46 MSK Mon May 23 2016
BootedFileName=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin
RET_2_RCALTS=
ConsecPostPassedCnt=20
ConfigReg=0x0102
rommon 16 >confreg

Configuration Summary :
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
enable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: y

change console baud rate? y/n [n]: n

change the boot characteristics? y/n [n]: n

Configuration Summary :
=> ignore system config info
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable

do you wish to save this configuration? y/n [n]: y
You must reset or power cycle for new configuration to take effect


rommon 17 >set
PS1=rommon ! >
RommonVer=15.0(1r)SG11
SupportedFeatures=1
Fa1Enable=1
DiagMonitorAction=Normal
DebugCallHome=00000
BOOT=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin,1;
RET_2_RTS=21:59:46 MSK Mon May 23 2016
BootedFileName=bootflash:cat4500e-universal.SPA.03.06.04.E.152-2.E4.bin
RET_2_RCALTS=
ConsecPostPassedCnt=20
ConfigReg=0x0142
rommon 18 >

 

+++++++++++++++++++++++++++++++++++++++++++++++++

I can not get the case to change to 0x2142.
or 0102 or 0142
What to do?
Proceed to the next steps according to the procedure:

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-4000-series-switches/21229-pswdrec-cat4000-supiii-21229.html


does not make sense, as

in state

#switch

does not go over - continues to require a password.

 

 

 

Your advice does not work.
The switch does not reset the password and continues to require its entry after RESET

Удалось добиться сброса.

Нужно терпение и пробовать. На третий раз сработало. В несколько видоизмененном виде, но сработало.

 Перевести регистр в полное соответствие не удалось. Сброс произошел и при значении регистра какой был мною указан ранее.

Всем удачи.

Review Cisco Networking for a $25 gift card