cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2973
Views
10
Helpful
3
Replies

password recovery for switch 2960

Ronenhazan
Level 1
Level 1

Currently Being Moderated

password recovery help

some bady can help me with password recovery switch 2960

that what i am doing and i get faill sll the time

what i am doing worng?

switch: flash_init
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 32513024
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
Boot Sector Filesystem (bs) installed, fsid: 3
Setting console baud rate to 9600...

switch: load_helper

switch: dir flash
unable to stat flash/: no such device

switch: load_helper

switch: dir flash:
Directory of flash:/


32513024 bytes available (1024 bytes used)

switch: rename flash:config.text flash:config.text.old
rename: no such file or directory

switch: boot
Loading "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin"...flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin: no such file or directory

Error loading "flash:c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin"

Interrupt within 5 seconds to abort boot process.
Boot process failed...

switch:

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

From the output you posted, it doesn't apear that you have any IOS image in the directory

flashfs[0]: 0 files, 1 directories

You may want to use Xmodem to load a new IOS, if there isn't on the flash.

https://supportforums.cisco.com/community/netpro/network-infrastructure/switching/blog/2012/01/24/loading-an-ios-on-a-switch-via-xmodem

HTH

Hello,

Password recovery router

Power cycle router

Press crtl-break

Type confreg 0x2142

reset

copy star run

all interfaces will be down

change passwords

conf t

config-register 0x2102

copy run star

reload

Password recovery Switch:

power cycle switch - depress mode button until port 1 led shows solid for about 2-3 secs

flash_int

load_helper

boot

dir flash:

rename flash:config.text flash:config.old

boot

rename flash:config.old flash:config.text

copy star run

change password

save config

reload

Booting from Flash:
dir bootflash:

Reset

Boot

Coying ios from TFTP into flash:

rommon x > set

    IP_ADDRESS=x.x.x.x

    IP_SUBNET_MASK=x.x.x.x

    DEFAULT_GATEWAY=x.x.x.x

    TFTP_SERVER=x.x.x.x

    TFTP_FILE=c2960-lanbase-mz.122-35.SE5/c2960-lanbase-mz.122-35.SE5.bin

set

tftpdnld

Note: D/G & TFTP server addresses are usually the same ip if copying  directly from another switch or router

res

Paul




Please don't forget to rate this post if it has been helpful.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

NOTE TO EVERYONE:  This is a duplicate post.