cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
513
Views
1
Helpful
9
Replies

WS-C4510R-E - Bypassing Startup Configuration via ROMMON

TULLYMCFARLAND
Level 1
Level 1

Hello,

I would like to know how to bypass startup configuration for WS-C4510R-E model switches. 

 

I am able to access ROMMON. Where do I go from here? 

Again I need the instructions for WS-C4510R-E specifically as they are different from the WS-C4500s I have previously inquired about. 

V/R

Tully

9 Replies 9

marce1000
Hall of Fame
Hall of Fame

 

 - @TULLYMCFARLAND   Ref : https://www.cisco.com/c/en/us/support/docs/routers/10000-series-routers/50421-config-register-use.html
                                          Set the config register to 0x2142

  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! '

Okay so I was able to set the confreg to 0x2142 using the following prompt choices: 

rommon 13 >confreg

Configuration Summary :
=> diagnostic mode
=> use net in IP bcast address
=> load rom after netboot fails
=> use all zero broadcast
=> 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
disable "diagnostic mode"? y/n [n]: y
disable "use net in IP bcast address"? y/n [n]: y
disable "load rom after netboot fails"? y/n [n]: n
disable "use all zero broadcast"? y/n [n]: y
enable "break/abort has effect"? y/n [n]: n
disable "ignore system config info"? y/n [n]: n

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

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

Configuration Summary :
=> load rom after netboot fails
=> 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

Wish me luck. 

VR

Tully

Okay that did not work:

rommon 14 >set
PS1=rommon ! >
RommonVer=12.2(44r)SG5
CV=
PV=
SV=
IS=
BOOT=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin,1;
RET_2_RCALTS=
BootedFileName=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin
ConsecPostPassedCnt=4
ConfigReg=0x2142
rommon 15 >reset

Resetting .......


rommon 16 >

Five minutes later...

User Access Verification

Username:
% Username: timeout expired!

It didn't work unfortunately.

VR

Tully

In ROMMON, enter the following:

confreg 0x2142

And then reboot. 

When the switch boots into OS, do not forget to reset the config-registry back to the correct settings of either 0x2101 or 0x2102.

Did not work. 

Type control-C to prevent autobooting.
. . . . .

******** The system will autoboot now ********


config-register = 0x2102
Autobooting using BOOT variable specified file.....

Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.

For help on choosing a boot method, type 'confreg' command.
rommon 1 > [interrupt]

rommon 1 > [interrupt]

rommon 1 >confreg 0x2142
usage: confreg
rommon 2 >set
PS1=rommon ! >
RommonVer=12.2(44r)SG5
Fa1Enable=1
RET_2_RTS=00:30:49 UTC Sun Jan 10 2010
CV=
RET_2_RCALTS=
ConfigReg=0x2102
DiagMonitorAction=Normal
SR=
TAG=
SSUP=
PV=
SV=
IS=
BOOT=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin,1;
BootedFileName=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin
ConsecPostPassedCnt=68
rommon 3 >

confreg 0x2142
usage: confreg

Ok, so the switch does not like that command.  Try this: 

configreg 0x2142

That didn't work either, unfortunately.

rommon 1 > [interrupt]

rommon 1 >configreg 0x2142

monitor: command "configreg" not found
rommon 2 >

Here is the entire output: 

**********************************************************
* *
* Welcome to Rom Monitor for WS-X45-SUP6-E System. *
* Copyright (c) 2003-2009 by Cisco Systems, Inc. *
* All rights reserved. *
* *
**********************************************************

Flash die # 0: AMD 67108864Bytes
Flash die # 1: AMD 67108864Bytes

Determining FTL format status of volume.
Volume is FTL formatted.

Checking the partition table and boot sector...
Checking FAT, Files and Directories...
Reclaiming unused space...
Updating FAT...
Rom Monitor Program Version 12.2(44r)SG5
CPU Rev: 2.1, Board Rev: 6, Board Type: 10, CPLD Jawa Rev: 18
Chassis: WS-C4510R-E

Front Panel Phy is Bcm5482s
Got Mac Address: 00:26:99:ad:55:b6

MAC Address : 00-26-99-ad-55-b6
Ip Address : Not set.
Netmask : Not set.
Gateway : Not set.
TftpServer : Not set.


***** The system will autoboot in 5 seconds *****


Type control-C to prevent autobooting.
. . .
Autoboot cancelled......... please wait!!!
rommon 1 > [interrupt]

rommon 1 >set
PS1=rommon ! >
RommonVer=12.2(44r)SG5
Fa1Enable=1
CV=
DiagMonitorAction=Normal
ConfigReg=0x2102
DebugCallHome=00000
SR=
TAG=
SSUP=
PV=
SV=
IS=
BOOT=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin,1;
RET_2_RTS=00:17:30 utc Tue Oct 2 2018
BootedFileName=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin
RET_2_RCALTS=
ConsecPostPassedCnt=57
rommon 2 >confreg

Configuration Summary :
=> load rom after netboot fails
=> 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
disable "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 :
=> load rom after netboot fails
=> 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 3 >set
PS1=rommon ! >
RommonVer=12.2(44r)SG5
Fa1Enable=1
CV=
DiagMonitorAction=Normal
DebugCallHome=00000
SR=
TAG=
SSUP=
PV=
SV=
IS=
BOOT=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin,1;
RET_2_RTS=00:17:30 utc Tue Oct 2 2018
BootedFileName=bootflash:cat4500e-entservicesk9-mz.152-2.E8.bin
RET_2_RCALTS=
ConsecPostPassedCnt=57
ConfigReg=0x2142
rommon 4 > reset

It still takes me to the splash screen. 

Then when I power off the chassis and re-enter ROMMON, the configreg=0x2102. 

Why is this happening? I need a serious answer as I am running out of time. 

 

The line card is already in ROMMON.  Please share the output to the command "dir nvram:".