免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6614 | 回复: 7
打印 上一主题 下一主题

[存储网络] 请教,关于Brocade SW200E光纤交换机密码丢失的问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-06 15:42 |只看该作者 |倒序浏览
请教,关于Brocade SW200E光纤交换机密码丢失的问题,

之前在配置的时候把密码修改了,没有记住,后来就丢失了,现在不能进去,请问大侠该如何处理?

谢谢了!

论坛徽章:
0
2 [报告]
发表于 2009-08-06 16:27 |只看该作者
GOOGLE了一个, 你可以试试下面的链接:

http://hi.baidu.com/isno/blog/item/c98cd0136b6bf9045baf530c.html

论坛徽章:
0
3 [报告]
发表于 2009-08-06 16:27 |只看该作者
恢复brocade交换机密码的方法2008-08-29 20:18可以试一下用root口令恢复:
root/fibranne
如果能登录,使用 passwddefault 命令重置密码。


通过如下方法取得root权限:
1. 连接串口并确定可以显示终端
2. 重启交换机,在终端上显示“press ESC key within 4 sec….”时,4秒钟内按下ESC键
3. 会显示一个菜单,选择Command Prompt shell
4. 输入命令:mount -o remount,rw,noatime /
5. 输入命令:mount /dev/hda2 /mnt
6. 输入命令: passwddefault 或 passwd admin(仅重置admin用户密码)
7. reboot -f

*** 如果第5步失败,则解决方法:
Printenv
找到“OSRootPartition” 参数, 然后mount第二个partition (通常是 hda2)


200E上有人这么做过

==========================================================
Your service request has been assigned case number RQST00000033003.

If the Silkworm 12000 is using FOS v4.1.x or above then please follows the instructions below to recover the passwords.   Please let me know if the 12000 is running FOS v4.0.x release.


Recovering the Root Password on Fabric OS v4.1
If the Boot PROM password is still known, you can use the following procedure to recover the Root
password on a SilkWorm 3900 or SilkWorm 12000.
Note: This procedure requires accessing the boot prompt, which stops traffic flow through a SilkWorm
3900 until the switch is rebooted. On a SilkWorm 12000, you can recover the Root password without
disruption to I/O by performing the procedure on the standby CP card.
To recover the Root password:
1. Connect to the serial port interface of the switch (SW3900)/Standby CP(SW12000)
2. Reboot the switch (SW3900)/Standby CP (SW12000) and press ESC within four seconds after the
message "Press escape within 4 seconds..." displays. "Enter Boot PROM interface:"
3. Enter the Boot PROM password.
4. Enter "3" at the prompt to enter the command shell.
5. Enter the printenv command and save the output.
6. Enter the boot command followed by the first memory address after the string OSLoader= obtained
from the printenv output and -s
boot <memory address> -s
The system is coming up, please wait...
Checking system RAM - press any key to stop test
Checking memory address: 01300000
System RAM check terminated by keyboard
System RAM check complete
Press escape within 4 seconds to enter boot interface.
1) Start system.
2) Recover password.
3) Enter command shell.
Option? 3
Password:
> printenv
AutoLoad=yes
ENET_MAC=006069602BD6
InitTest=MEM()
LoadIdentifiers=IDE w/ XFS;IDE w/ XFS & NFS Root
OSLoader=MEM()0xF0000000;MEM()0xF0800000
OSRootPartition=hda1;hda2
SkipWatchdog=yes
> boot MEM()0xF0000000 -s
.
Steps 7 through 11 are for a SW3900 only, skip to step 12 for SW12000.
7. Enter the following string at the prompt:
mount -o remount,rw,noatime /
8. Enter the following string at the prompt:
mount /dev/hda2 /mnt
9. Enter the passwddefault command with the full path, as follows:
/sbin/passwddefault
This resets the User, Admin, Factory, and Root passwords to the default values
10. Enter the reboot -f command if the switch is a SW3900.
reboot -f
Traffic flow resumes when the switch finishes rebooting.
11. Log into the SW3900 switch by serial or telnet as Root and set new passwords for all accounts. The
process is now complete for the SW3900.
12. From the serial connection to the standby CP card, set the appropriate hostname to the CP. Use "cp0"
for slot 5, and "cp1" for slot 6.
hostname cp0
13. Start networking on the standby CP
/etc/init.d/network start
14. Perform one of the following according to which slot the CP card is in:
? If the standby CP card is in slot 5 (CP0), enter "rsh 10.0.0.6 /sbin/passwddefault", press
Enter.
? If the standby CP card is in slot 6 (CP1), enter "rsh 10.0.0.5 /sbin/passwddefault", press
Enter.
15. Reboot the Standby CP with the command "reboot -f"
16. Log into the active CP as admin from a telnet or serial connection, and enter Ctrl + C to bypass the
request to modify passwords.
17. Log into either logical switch by serial or telnet as admin and set new passwords for all accounts.

=========================================================
博科交换机密码重设工具
windows下的图形化界面的软件,用来重设博科交换机的管理员密码,只要输入博科交换机的IP地址,用户名和密码就可以了,不过版本上只支持 firmware为2.6.0d, 3.0.2g, 4.0.2b的这几个版本。这个软件是从网上找来的,还没有做过测试,哪位朋友用过之后麻烦给个测试结果。

压缩密码为“www.brocader.cn

下载地址:博科交换机密码重设工具

论坛徽章:
0
4 [报告]
发表于 2009-08-06 16:28 |只看该作者
博科交换机密码重设工具
windows下的图形化界面的软件,用来重设博科交换机的管理员密码,只要输入博科交换机的IP地址,用户名和密码就可以了,不过版本上只支持 firmware为2.6.0d, 3.0.2g, 4.0.2b的这几个版本。这个软件是从网上找来的,还没有做过测试,哪位朋友用过之后麻烦给个测试结果。

压缩密码为“www.brocader.cn

下载地址:博科交换机密码重设工具



http://www.brocader.cn/document/BrocadePasswordReset.rar

论坛徽章:
0
5 [报告]
发表于 2009-08-06 16:42 |只看该作者
实战:博科 brocade 300交换机密码重置
_http://tech.watchstor.com/storage-network-113324.htm



博科新款交换机silkworm 300已经开始慢慢上市了,今天拿到一台给HP OEM的博科300交换机,惠普的型号是storageworks 8/8,24端口,激活8个端口。贴的标是惠普的,但是一看就知道是博科的东西,随机的光盘就是博科的光盘。

博科300的默认用户名是admin,默认密码是password。由于这台机器用户做过设置,密码改过了需要重设一下。博科交换机是没有reset按钮的,必须通过console线连接通过命令重置。

博科300的os是用的linux 2.6的核心,最高权限的管理帐号是root。重置交换机密码就是用这个帐号。

swd77 login: root
Password:  fibranne

使用该帐号登陆后会出现下面的信息:

Disclaimer for Root and Factory Accounts Usage!

This Fibre Channel switch is equipped with Root and Factory accounts
that are intended for diagnostics and debugging purposes solely by
the Equipment vendor's trained engineers. Improper use of the
functionality made available through the Root or Factory account could
cause significant harm and disruption to the operation of the SAN fabric.

Your use of the functionality made available through the Root or Factory
account is at your sole risk and you assume all liability resulting from
such use. The Equipment vendor shall have no liability for any losses
or damages arising from or relating to the use of the Root or Factory
account (and the functionality enabled thereby) by anyone other than
the Equipment vendor's authorized engineers.

Proceeding with the usage of this switch as the Root or Factory user
explicitly indicates your agreement to the terms of this disclaimer.

Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.

这里用Control-C结束就行了,如果回车会让分别设置各个帐号的密码,出现如下信息:

Warning:  Access to  the Root  and Factory accounts may be required  for
proper  support  of  the switch.  Please  ensure  the Root  and  Factory
passwords are  documented in a secure location.  Recovery of a lost Root
or Factory password will result in fabric downtime.

for user - root
Changing password for root
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - factory
Changing password for factory
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - admin
Changing password for admin
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error
Please change passwords for switch default accounts now.
for user - user
Changing password for user
Enter new password:
Password unchanged.
passwd: Authentication token manipulation error

登陆后是用passwddefault命令恢复出厂密码

swd77:root> passwddefault
Password policies are already set to default.
All account passwords have been successfully set to factory default.
swd77:root>

论坛徽章:
0
6 [报告]
发表于 2009-08-07 13:58 |只看该作者
root/fibranne

这个我试过,非常容易,进去再重设一下就可以了

论坛徽章:
0
7 [报告]
发表于 2009-08-08 23:32 |只看该作者
原帖由 storm the front 于 2009-8-7 13:58 发表
root/fibranne

这个我试过,非常容易,进去再重设一下就可以了



OK, 记住了...以后有遇到借鉴

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
8 [报告]
发表于 2009-08-09 00:31 |只看该作者
原帖由 storm the front 于 2009-8-7 13:58 发表
root/fibranne

这个我试过,非常容易,进去再重设一下就可以了


是吗,这么简单我也去试一试。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP