cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4353
Views
0
Helpful
4
Replies

how to make password recovery for cisco 7604 ??

Dr.X
Level 2
Level 2

hi ,

i read alot about password recovery , but when i apply it to cisco 7604 it fails

i went to rommon mode and typed#  confreg 0x2142

hen i typed reset

when the router startup it request a password form me ,

i can enter the user mode , and when i type sh ver command

i note that the config resgitser is 0x2102 , not 0x2142 !!!!

i could enter the privilage mode !!!! and seems no thing  changed !!!!

does this router has a specific password recovery procedure ??? which differes than the classic procedure

regards

1 Accepted Solution

Accepted Solutions

Hi Ahmed,

Did you follow this document step-by-step?

http://www.cisco.com/en/US/products/hw/switches/ps700/products_password_recovery09186a0080133fb1.shtml

  1. Type confreg 0x2142 at the rommon 1> prompt to boot from Flash without loading the configuration.

  2. Type reset at the rommon 2> prompt.

    The router reboots. However, it ignores the saved configuration.

  3. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.

  4. Type enable at the Router> prompt.

    You are in enable mode and see the Router# prompt.

  5. Important: Issue the configure memory or copy start running commands to copy the Nonvolatile RAM (NVRAM) into memory. Do not issue the configure terminal command.

  6. Issue the write terminal or show running command.

    The show running and write terminal commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command. This means that all the interfaces are currently shut down.You  see the passwords either in encrypted or unencrypted format.

  7. Issue the configure terminal command to enter global configuration mode and make the changes.

    The prompt is now hostname(config)#.

  8. Issue the enable secret < password > command in global configuration mode to change the enable password.

  9. Issue the config-register 0x2102 command, or the value you recorded in Step 2 in global configuration mode (Router(config)#) to set the configuration value back to its original value.

  10. Change the virtual terminal passwords, if present:

HTH

View solution in original post

4 Replies 4

Dr.X
Level 2
Level 2

here is the output after entering the usermode

as u see, the config register retured to 0x2102 !!!!!!

%%%%%%%%%%%%%%%%%%%%%%%%%%%

NS-Gateway>sh version

Cisco IOS Software, c7600s3223_rp Software (c7600s3223_rp-ADVENTERPRISEK9-M), Version 15.2(1)S, RELEASE SOFTWARE (fc1)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2011 by Cisco Systems, Inc.

Compiled Sun 27-Nov-11 15:27 by prod_rel_team

ROM: System Bootstrap, Version 12.2(17r)SX3, RELEASE SOFTWARE (fc1)

BOOTLDR: Cisco IOS Software, c7600s3223_rp Software (c7600s3223_rp-ADVENTERPRISEK9-M), Version 15.2(1)S, RELEASE SOFTWARE (fc1)

NS-Gateway uptime is 5 minutes

Uptime for this control processor is 5 minutes

System returned to ROM by power-on (SP by power-on)

System image file is "sup-bootdisk:c7600s3223-adventerprisek9-mz.152-1.S.bin"

Last reload type: Normal Reload

Last reload reason: power-on

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

cisco CISCO7604 (R7000) processor (revision 2.0) with 458752K/65536K bytes of memory.

Processor board ID FOX1509G2DK

R7000 CPU at 300MHz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache

Last reset from power-on

1 Virtual Ethernet interface

9 Gigabit Ethernet interfaces

1915K bytes of non-volatile configuration memory.

65536K bytes of Flash internal SIMM (Sector size 512K).

Configuration register is 0x2102

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

is this a starnge issue, that the rommon doesnt accept changing config register????

regards

Hi Ahmed,

Did you follow this document step-by-step?

http://www.cisco.com/en/US/products/hw/switches/ps700/products_password_recovery09186a0080133fb1.shtml

  1. Type confreg 0x2142 at the rommon 1> prompt to boot from Flash without loading the configuration.

  2. Type reset at the rommon 2> prompt.

    The router reboots. However, it ignores the saved configuration.

  3. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.

  4. Type enable at the Router> prompt.

    You are in enable mode and see the Router# prompt.

  5. Important: Issue the configure memory or copy start running commands to copy the Nonvolatile RAM (NVRAM) into memory. Do not issue the configure terminal command.

  6. Issue the write terminal or show running command.

    The show running and write terminal commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command. This means that all the interfaces are currently shut down.You  see the passwords either in encrypted or unencrypted format.

  7. Issue the configure terminal command to enter global configuration mode and make the changes.

    The prompt is now hostname(config)#.

  8. Issue the enable secret < password > command in global configuration mode to change the enable password.

  9. Issue the config-register 0x2102 command, or the value you recorded in Step 2 in global configuration mode (Router(config)#) to set the configuration value back to its original value.

  10. Change the virtual terminal passwords, if present:

HTH

hi mr reza ,

i read this article many times , but it seems i didnt read the background lines ,

this was my mistake

my problem was the timing of boot interrupting ,

i was supposed to press ctr+ break after the consle message

%OIR-6-CONSOLE: Changing console ownership to route processor

it seems to be my problem

i also made a recovery for 7200 router with no problems , this issue may made a conflict to 7604 cause i though all routers with the same procedure .

any way thanks very much

tomorrow i will try it and give u a reply

regards