Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password recovery on 2600 platform

Status
Not open for further replies.

Ravenrx7

IS-IT--Management
Joined
Aug 21, 2002
Messages
109
Location
US
Please help on the key sequence on this.. I'm on a Windows 2k box.
thanks

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
It's the 2600 Cisco Switch? Does this still apply?

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
sorry it's a 2900 Catalyst

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
this is what I"m getting:
cisco2924f>ÿ

C2900XL Boot Loader (C2900-HBOOT-M) Version 11.2(8)SA3, RELEASE SOFTWARE (fc1)
Compiled Fri 11-Sep-98 17:00 by rheaton
starting...
Base ethernet MAC Address: 00:50:e2:b9:f9:40
Xmodem file system is available.

The system has been interrupted prior to initializing the
flash filesystem. The following commands will initialize
the flash filesystem, and finish loading the operating
system software:

flash_init
load_helper
boot

switch: boot
Boot process failed...
switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
trap -- Cause a software breakpoint to occur
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
-- MORE --
switch: flash_init
Initializing Flash...
flashfs[0]: 175 files, 3 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 1728000
flashfs[0]: Bytes used: 1636864
flashfs[0]: Bytes available: 91136
flashfs[0]: flashfs fsck took 4 seconds.
...done Initializing Flash.
switch: dir flash
unable to stat flash/: permission denied
switch:

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
How do I get around this? This is a switch (2900) series that was configured by an administrator that left the company and password protected everything.

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
Sorry about the delay getting back. Was away for a minute.

It's not much different than the 1900 switch, get your console ready with the 9600 8N1, then unplug the swithc.
hold the mode button while you turn it back on,

when the light above port 1x goes out, let go, this will 'break' the start location and the password, follow the document below for guidance.

 
I tried this, and that's where I started the print out of the code.

flash_init
load_helper
boot

Also I tried to delete the startup-config and it gave me an access denied error.

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
switch: flash_init
Switch: load_helper
Switch: dir flash:

If there is an image in the flash, it will show in the directory. If the image is totally wiped, you'll probably need to do an XMODEM transfer of a good image. First, though determine if there is an image still on the switch. You may see several other files under the directory (vlan.dat, boot_var, config.text, etc.). Don't worry about those.
 
If you're doing a password recovery on this switch:

switch: flash_init
switch: load_helper
switch: rename flash:config.text flash:config.old
switch: reset

This will prevent the existing configuration file from loading and put the switch in setup mode. You can cancel out of setup (ctrl+c) and get to privileged exec. From privileged mode, you can copy the config.old into the running configuration, change all the passwords and save to nvram. Then, delete the config.old.
 
Thanks,

I'll try it today and let you guys know what happens.

thanks again

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
Flash and config files are password protected, how can I get around this? Maybe a hardware jumper?

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
thanks alot guys.. that worked..
I was forgeting to put a : after the dir flash: command..

thanks again

Josh McMahon
A+ Certified,CCNA
jmcmahon@lexgen.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top