Chinaunix

标题: 有人知道恢复Brocade 3800 的admin口令吗? [打印本页]

作者: tyr1    时间: 2008-04-22 09:26
标题: 有人知道恢复Brocade 3800 的admin口令吗?
求助,修改Brocade 3800 设置,忘了管理员口令了,求怎样恢复Brocade 3800 的admin口令?谢谢!
作者: yang_826    时间: 2008-04-22 09:38
出厂的用户:admin,密码:password。如果没有改过就是这个了。
作者: tyr1    时间: 2008-04-22 10:56
改过了,用这个进不了啦,不知道还有其它用户和口令可以进吗?
作者: yang_826    时间: 2008-04-22 13:31
其他用户就是factory模式下的了,作为用户是不知道密码的,只有厂商的工程师知道。想不起来能不能改密码了。
作者: justsowhat    时间: 2008-05-08 08:37
可以试一下用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上有人这么做过
作者: tyr1    时间: 2008-05-12 16:08
谢谢!回头我试试。
作者: yang_826    时间: 2008-05-19 13:36
标题: 回复 #5 justsowhat 的帖子
长见识了!
作者: Superman2008    时间: 2008-05-27 00:58
和linux一样,进单用户模式改;)
作者: Superman2008    时间: 2008-05-27 01:02
或者如果知道root密码的话
用root登录
然后passwd修改admin的密码
作者: toyou    时间: 2008-08-18 11:05
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.
作者: toyou    时间: 2008-08-18 11:07
曾经碰到这个问题,工程师转发给我,折腾了几次,没搞定就放弃了.
作者: saintdragon    时间: 2008-08-18 14:21
ms恢复的用到的指令很熟悉




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2