cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2732
Views
0
Helpful
6
Replies

Cisco MDS 9124 Password recovery

paul dungey
Level 1
Level 1

Good afternoon,

 

I have a number of Cisco MDS 9124 where by I would need to erase the units to factory defaults,

 

Thank you,

Paul

 

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

You mentioned 2 topics in 1, you looking to facotry reset or password recovery ?

- Connect to the console cable  MDS  switch

- Turn off the Switchj  ad Turn on the switch

- Press 'Ctrl + ]' key during boot to receive 'switchboot#' prompt

 

config t

admin-password XXXXX ( xxxx is new password

exit

load bootflash:MDSimage.bin (if you do not know this, dir flash: can show you the image name)

once booted good, wr the config, copy run atartup.

 

 

 

 

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

paul dungey
Level 1
Level 1

Hi, Balaji

 

I followed your command, but the Switch did not boot after the command  switch(boot)# copy run startup

the following output i got was copy: cannot access file '/bootflash/run'

 

I have looked at Bhavin Link and have all read tried the commands early on and I still get the same error as I have mentioned above.

 

switch(boot)# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password Cisco1
Password is not strong enough: it should be at least 8 characters
switch(boot)(config)# exit
switch(boot)# dir flash:
^
% invalid parameter detected at '^' marker.

switch(boot)# dir
14171 Apr 06 2016 16:44:47 20160406_SW_A
309 Dec 18 2013 03:09:11 MDS20131218025821532.lic
309 Dec 18 2013 03:11:16 MDS20131218025912535.lic
318 Dec 18 2013 03:13:19 MDS20131218030002538.lic
319 Dec 18 2013 03:14:42 MDS20131218030044556.lic
13989 Feb 22 2014 04:57:14 YOR-R-MDS9124-01
46080 Dec 16 2013 03:32:01 lost+found/
18723840 Dec 04 2012 16:32:26 m9100-s2ek9-kickstart-mz.5.0.1a.bin
19921920 Dec 16 2013 03:23:28 m9100-s2ek9-kickstart-mz.5.2.2d.bin
56219997 Dec 04 2012 16:34:36 m9100-s2ek9-mz.5.0.1a.bin
52825633 Dec 16 2013 03:26:09 m9100-s2ek9-mz.5.2.2d.bin
7821 Sep 13 2020 09:55:34 mts.log

Usage for bootflash: filesystem
160888832 bytes used
54272 bytes free
160943104 bytes total
switch(boot)# load bootflash:m9100-s2ek9-kickstart-mz.5.2.2d.bin
INIT: Sending processes the TERM signal
INItch(boot)#
Stopping NFS servers: mountd nfsd.
.
INIT: Sending processes the KILL signal
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
switch(boot)# wr
^
% incomplete command detected at '^' marker.

switch(boot)# write
^
% incomplete command detected at '^' marker.

switch(boot)# ?
Exec commands:
clear Reset functions
config Enter configuration mode
copy Copy from one file to another
delete Delete a file or directory
dir Directory listing for files
exit Exit from the EXEC
find Find a file below the current directory
format Format disks
init Initialize internal disk
load Load system image
mkdir Create new directory
move Move files
no Disable debugging functions
pwd View current directory
reload Reboot this supervisor module
rmdir Remove existing directory
show Show running system information
sleep Sleep for the specified number of seconds
ssh SSH to another system
tail Display the last part of a file
telnet Telnet to another system
terminal Set terminal line parameters
write Write current configuration
switch(boot)# copy run startup
copy: cannot access file '/bootflash/run'
switch(boot)#

Hello,
After the boot command, you have to run the load command to load the system image. Something like this:
switch(boot)# load m9100-s2ek9-mz.5.2.2d.bin
Once the switch loads the system image file, you will be able to resume normal config operation.

until boot correctly do not perform any other config :

 

switch(boot)# load bootflash:m9100-s2ek9-kickstart-mz.5.2.2d.bin    <- is the correct version ? (do you think ?)

 

Looks like you have 2 versions in the flash, not sure which one correct. if you know the correct one it should boot as expected as mentioned below document :

 

 

https://www.cisco.com/c/en/us/support/docs/storage-networking/mds-9000-san-management/213567-mds9000-boot-loader-prompt-recovery.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi,

;

Sorry for the long delay got caught up in something else, i run the command above "boot bootflash"

see the out put below.


85799936 bytes used
77171712 bytes free
162971648 bytes total
switch(boot)# load bootflash:m9100-s2ek9-kickstart-mz.5.2.2d.bin
INIT: Sending processes the TERM signal
INItch(boot)#
Stopping NFS servers: mountd nfsd.
.
INIT: Sending processes the KILL signal
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
switch(boot)#

Review Cisco Networking for a $25 gift card