分页: 1 / 1

MDS 9124e Fabric Switch for BladeSystem 密码遗失恢复实施文档

发表于 : 2011年 10月 30日 01:56 星期天
wonly
具体实施步骤:
停止主机对LUN的I/O读写.重启交换机

>> MDS-Bootloader-01.00.06 (Feb 7 2011 - 19:22:57) (MPC8541E)

CPU: 8541, Version: 1.1, (0x807a0011)
Core: E500, Version: 2.0, (0x80200020)
Clock Configuration:
CPU: 999 MHz, CCB: 333 MHz,
DDR: 166 MHz, LBC: 41 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
INFO: Booting off primary flash.
I2C: ready
DRAM: DRAM: Total SDRAM memory is 512 MB
20000000
INFO: SDRAM tests PASSED.
DRAM: ECC initialization in progress...Done.
INFO: Board rev = 4 type = 4 index 9032
L2 cache 256KB: enabled
IDE: Bus 0: OK
Device 0: Model: SILICONSYSTEMS INC 256MB Firm: Ser#: 028TTS7DSt703SC02061
Type: Hard Disk
Capacity: 248.5 MB = 0.2 GB (508928 x 512)

Booting bootflash:/m9100-s2ek9-kickstart-mz.3.2.1a.bin ...
.............
Automatic boot of image at addr 0x00000000 ...
Starting kernel...
INIT: version 2.78 booting
Checking all filesystems..... done.
Loading system software 在此处按住ctrl+]交换机进入boot模式
INIT: Switching to runlevel: 1
IStopping kernel log daemon: klogd.
Sending all processes the TERM signal... done.
^]Sending all processes the KILL signal... done.
Entering single-user mode...
INIT: Going single user
INIT: Sending processes the TERM signal
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2007, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software may be covered under the GNU Public
License or the GNU Lesser General Public License. A copy of
each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
switch(boot)# conf t 进入配置模式
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password p@ssw0rd123 修改admin的密码
PAM_unix[611]: Password for admin was changed
switch(boot)(config)# exit 退出配置模式
switch(boot)# dir 显示bootflash的文件


12288 Jun 20 16:34:23 2008 lost+found/
14675456 Jun 20 16:35:38 2008 m9100-s2ek9-kickstart-mz.3.2.1a.bin
64707517 Jun 20 16:37:27 2008 m9100-s2ek9-mz.3.2.1a.bin

Usage for bootflash: filesystem
83921920 bytes total used
70132736 bytes free
162455552 bytes available
switch(boot)# load bootflash:m9100-s2ek9-mz.3.2.1a.bin 加载引导系统文件
Uncompressing system image: bootflash:/m9100-s2ek9-mz.3.2.1a.bin
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
INIT: Switching to runlevel: 3
INIT: Sending processes the TERM signal
Iwitch(boot)#
等待交换机加载完毕出现登录提示
MDS Switch
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-PS_OK: Power supply 1 ok (Serial number PAC12213255)
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-PS_FANOK: Fan in Power supply 1 ok
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-PS_OK: Power supply 2 ok (Serial number PAC12113050)
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-PS_FANOK: Fan in Power supply 2 ok
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-FAN_OK: Fan module ok
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-FAN_OK: Fan module ok
2009 Oct 15 11:24:12 sw1 %PLATFORM-2-FAN_OK: Fan module ok
sw1 login: admin
Password:
Cisco Storage Area Networking Operating System (SAN-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2007, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software may be covered under the GNU Public
License or the GNU Lesser General Public License. A copy of
each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
sw1# show run 查看原有配置信息
version 3.2(1a)
fcdomain domain 10 static vsan 1
fcdomain fcid database
vsan 1 wwn 50:06:04:84:52:a6:da:c3 fcid 0x0a0000 dynamic
vsan 1 wwn 50:06:04:84:52:a6:da:cc fcid 0x0a0100 dynamic
vsan 1 wwn 50:01:43:80:02:52:40:d8 fcid 0x0a0200 dynamic
vsan 1 wwn 50:01:43:80:02:52:40:de fcid 0x0a0300 dynamic
vsan 1 wwn 50:01:43:80:02:52:40:d6 fcid 0x0a0400 dynamic
vsan 1 wwn 50:01:43:80:02:52:41:6a fcid 0x0a0500 dynamic
no system default switchport shutdown
interface fc1/1
interface fc1/2
interface fc1/3
interface fc1/4
interface fc1/5
interface fc1/6
interface fc1/7
interface fc1/8
interface fc1/9
interface fc1/10
interface fc1/11
interface fc1/12
interface fc1/13
interface fc1/14
interface fc1/15
interface fc1/16
interface fc1/17
interface fc1/18
interface fc1/19
interface fc1/20
interface fc1/21
interface fc1/22
interface fc1/23
interface fc1/24
switchname sw1
role name default-role
description This is a system defined role and applies to all users
rule 1 permit show feature system
rule 2 permit show feature snmp
rule 3 permit show feature module
rule 4 permit show feature hardware
rule 5 permit show feature environment
username admin password 5 $1$a3GxWVbH$K2i14D0BtT.pblnI01NBo1 role network-admin
boot kickstart bootflash:/m9100-s2ek9-kickstart-mz.3.2.1a.bin
boot system bootflash:/m9100-s2ek9-mz.3.2.1a.bin
kernel core target 0.0.0.0
kernel core limit 1
snmp-server user admin network-admin auth md5 0xec3eccab3709e80dde17d3151b8ab5d9
priv 0xec3eccab3709e80dde17d3151b8ab5d9 localizedkey
no snmp-server enable traps vrrp
snmp-server enable traps license
callhome
zone name crmdb1_HBA1_DMX3_4a vsan 1
member interface fc1/1 swwn 20:00:00:0d:ec:95:ec:00
member interface fc1/2 swwn 20:00:00:0d:ec:95:ec:00

zone name crmdb1_HBA4_DMX3_13a vsan 1
member interface fc1/3 swwn 20:00:00:0d:ec:95:ec:00
member interface fc1/4 swwn 20:00:00:0d:ec:95:ec:00

zone name crmdb2_HBA1_DMX3_4a vsan 1
member interface fc1/5 swwn 20:00:00:0d:ec:95:ec:00
member interface fc1/2 swwn 20:00:00:0d:ec:95:ec:00

zone name crmdb2_HBA4_DMX3_13a vsan 1
member interface fc1/7 swwn 20:00:00:0d:ec:95:ec:00
member interface fc1/4 swwn 20:00:00:0d:ec:95:ec:00

zoneset name sw1 vsan 1
member crmdb1_HBA1_DMX3_4a
member crmdb1_HBA4_DMX3_13a
member crmdb2_HBA1_DMX3_4a
member crmdb2_HBA4_DMX3_13a

zoneset activate name sw1 vsan 1

interface fc1/1
port-license acquire
no shutdown

interface fc1/2
port-license acquire
no shutdown

interface fc1/3
port-license acquire
no shutdown

interface fc1/4
port-license acquire
no shutdown

interface fc1/5
port-license acquire
no shutdown

interface fc1/6
port-license acquire
no shutdown

interface fc1/7
port-license acquire
no shutdown

interface fc1/8
port-license acquire
no shutdown

interface fc1/9

interface fc1/10

interface fc1/11

interface fc1/12

interface fc1/13

interface fc1/14

interface fc1/15

interface fc1/16

interface fc1/17

interface fc1/18

interface fc1/19

interface fc1/20

interface fc1/21

interface fc1/22

interface fc1/23

interface fc1/24

interface mgmt0
switchport speed 100
ip address 192.168.11.1 255.255.255.0
sw1# copy running-config startup-config
[########################################] 100%
确认后将更改的密码保存退出

Re: MDS 9124e Fabric Switch for BladeSystem 密码遗失恢复实施文档

发表于 : 2011年 10月 30日 02:05 星期天
admin
感谢楼主分享,加分20点以示鼓励!