09-17-2012 09:50 AM - edited 03-07-2019 08:55 AM
Hi
Hava cisco router 1841 forgot user name and password and need to reset it to its factory setting pls help
tried boot while holding ctrl and break get into rommon1>
rommon1>confreg 0*2142
rommon1>reset
still shows rommon 3>
pls help,it ask user name and password and cant remember both
thx
J
Solved! Go to Solution.
09-17-2012 10:16 AM
You need to boot the router after that.
Type boot from the rommon if you have set the boot variable correctly
09-18-2012 02:41 AM
Hi Joseph,
Please execute the below command on the rommon prompt again,
rommon>confreg 0x2142 (not confreg 0*2142)
rommon>reset
Please see the regular process to reset the password on 1841 Router below,
This step bypasses the startup configuration where the passwords are stored
The router reboots, but ignores the saved configuration.
Important:
Do not type copy running-config startup-config or write. These commands erase your startup configuration.
Refer:
If you couldnt boot the device after execute the below commands,
rommon>confreg 0x2142
rommon>reset
As Ivan suggested, please try to boot the image from flash or bootflash where you stored the actual IOS image
rommon>boot (Boot the first image in flash memory)
rommon>boot flash:[filename] (Boot the first image or a specified image in flash memory)
rommon>boot <filename> tftpserver (Boot the specified image over the network from the specified TFTP server (hostname or IP address)
example: rommon>boot <image name> 172.16.30.40
If this doesnt work, you can recover the System Image (tftpdnld)
Note: Use the tftpdnld command only for disaster recovery because it can erase all existing data in flash memory before it downloads a new software image to the router.
Before you can enter the tftpdnld command, you must set the ROM monitor environment variables.
Prerequisites
Connect the TFTP server to a fixed network port on your router.
rommon 16 > IP_ADDRESS=171.68.171.0
rommon 17 > IP_SUBNET_MASK=255.255.254.0
rommon 18 > DEFAULT_GATEWAY=171.68.170.3
rommon 19 > TFTP_SERVER=171.69.1.129
rommon 20 > TFTP_FILE=c2600-i-mz.120-7.T.bin
rommon 21 > tftpdnld
After the tftpdnld procedure is complete, the router goes back to a ROMmon prompt.
Issue the confreg 0x2102 command and reset. If the confreg 0x2102 command is not issued, the router boots to ROMmon mode after the reset
rommon1>confreg 0x2102
rommon2>reset
Refer:
http://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_rommon.html
https://supportforums.cisco.com/docs/DOC-2340
Regards,
Aru
09-17-2012 10:16 AM
You need to boot the router after that.
Type boot from the rommon if you have set the boot variable correctly
09-17-2012 10:21 AM
how to boot that correctly pls?
09-17-2012 10:23 AM
sorry just ticked on correct answer wrongly?
still need ans
09-17-2012 10:36 AM
Hi,
Since the router is in ROMMON after reset, it means the autoboot failed. Likely router cannot find the image.
Do you know where it is located? Use "dev" command in ROMMON mode to see file systems, then "dir ..." to list the files in each of them and boot with correct image manually using "boot ...".
dev
dir
boot
PS: please capture console logs from the terminal when working this steps. In case of some issues it will help to find the problem.
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful.
09-17-2012 10:42 AM
Hi Joseph,
As Ivan said, it failed to auto boot after you gave reset from rommon prompt. I would like to confirm you one more thing, did you try to execute * or x
I mean, 0*2142 or 0x2142
Regards,
Aru
09-17-2012 11:25 PM
0*2142
09-18-2012 02:41 AM
Hi Joseph,
Please execute the below command on the rommon prompt again,
rommon>confreg 0x2142 (not confreg 0*2142)
rommon>reset
Please see the regular process to reset the password on 1841 Router below,
This step bypasses the startup configuration where the passwords are stored
The router reboots, but ignores the saved configuration.
Important:
Do not type copy running-config startup-config or write. These commands erase your startup configuration.
Refer:
If you couldnt boot the device after execute the below commands,
rommon>confreg 0x2142
rommon>reset
As Ivan suggested, please try to boot the image from flash or bootflash where you stored the actual IOS image
rommon>boot (Boot the first image in flash memory)
rommon>boot flash:[filename] (Boot the first image or a specified image in flash memory)
rommon>boot <filename> tftpserver (Boot the specified image over the network from the specified TFTP server (hostname or IP address)
example: rommon>boot <image name> 172.16.30.40
If this doesnt work, you can recover the System Image (tftpdnld)
Note: Use the tftpdnld command only for disaster recovery because it can erase all existing data in flash memory before it downloads a new software image to the router.
Before you can enter the tftpdnld command, you must set the ROM monitor environment variables.
Prerequisites
Connect the TFTP server to a fixed network port on your router.
rommon 16 > IP_ADDRESS=171.68.171.0
rommon 17 > IP_SUBNET_MASK=255.255.254.0
rommon 18 > DEFAULT_GATEWAY=171.68.170.3
rommon 19 > TFTP_SERVER=171.69.1.129
rommon 20 > TFTP_FILE=c2600-i-mz.120-7.T.bin
rommon 21 > tftpdnld
After the tftpdnld procedure is complete, the router goes back to a ROMmon prompt.
Issue the confreg 0x2102 command and reset. If the confreg 0x2102 command is not issued, the router boots to ROMmon mode after the reset
rommon1>confreg 0x2102
rommon2>reset
Refer:
http://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_rommon.html
https://supportforums.cisco.com/docs/DOC-2340
Regards,
Aru
01-04-2015 12:22 PM
After the following command
Type config-register #config-register 0x2102
you need to press ctl-z to signify the end of the commands before you can write this back to memory using
Type write memory or #copy running-config startup-config in order to commit the changes
05-02-2019 02:02 AM
Hi, i have an 1812 rooter, and i want to reset him but i don't have password and i can't reset him because the rommon mode was blocked, how can i reset rooter without rommon mod ?
05-02-2019 03:14 AM
09-17-2012 11:05 PM
Hi Aru,
this is what happened,what next?
rommon 2 > dev
Devices in device table:
id name
flash: external compact flash
bootflash: boot flash
eprom: eprom
j
09-17-2012 11:07 PM
get the following output
dir bootflash:
09-17-2012 11:30 PM
rommon 1 > dir bootflash:
monitor: command "dir" not found
09-17-2012 11:42 PM
Please get the following output
rommon 1 > ?
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