Connectrix Brocade B 系列:如何使用在第 6 代和第 7 代交换机(非控制器)上启用的安全启动恢复密码

摘要: 此密码恢复过程支持启用安全启动的 Brocade G620 交换机(类型 183)、Brocade G630 交换机(类型 184)和 Brocade G720 交换机。
说明
此过程将所有密码恢复并重置为默认值,以恢复管理员密码和用户密码。以 root 用户身份登录,并检查命令指南中的正确命令。

提醒:
在继续之前,请完整阅读此过程,以确保了解活动。
此过程是一个破坏性过程,因为它需要重新启动交换机。
过程:
1.使用终端模拟程序建立到交换机串行端口的连接。
2.关闭设备电源后再开机,并在出现提示时按 ESC 键。然后进入选项“2”。
Secure Boot allows bootup of the system only if a valid digital signature is present on the platform.
Secure Boot Mode Enabled, System in Trusted State
按下 ESC 停止自动启动:0

  1. 启动系统。
  2. 输入命令 shell。
    选项?

3.输入 “sboot single” 以单用户模式启动系统。重新启动类似于以下内容:
sboot single
使用以下请求代码,联系您的支持提供商,获取密码重置密钥:
FbJ7XXXXXXXtup.5mjIyA==
输入提供的验证字符串。
恢复代码:

4.将请求代码发送给支持团队以获取验证字符串。
5.输入从支持团队接收的验证字符串,以单用户模式进行启动。
提醒:每个请求代码及其相应的验证字符串只能使用一次。如果恢复代码不正确,交换机会不断提示。

输入提供的验证字符串。
恢复代码:4WCzXXXXXXX5D1.vXLW/iw==
重新输入恢复代码: 4WCzXXXXXXX5D1.vXLW/iw==

6.运行系统初始化脚本 “/etc/rc.d/init.d/rc.sysinit.”
sh-4.3# /etc/rc.d/init.d/rc.sysinit
e2fsck 1.42.9 (28-Dec-2013)
/dev/sda1: clean, 5851/59136 files, 84801/236328 blocks
Filesystem check /dev/sda1 done
e2fsck 1.42.9 (28-Dec-2013)
/dev/sda2: recovering journal
Setting free inodes count to 53408 (was 53409)
Setting free blocks count to 158187 (was 158189)
/dev/sda2: clean, 5600/59008 files, 77845/236032 blocks
Filesystem check /dev/sda2 done
FIPS mode disabled, so skipping firmware integrity check
Bypassing firmware validation.
---------mounting ramfs-------------------
root=/dev/sda1 rootfstype=ext4 console=ttyS0,9600 rootdelay=5 pcie_ports=native quiet single quiet
########Installing SWXXX81 libhil
mknod: ‘/mnt/dev/platform’: File exists
mknod: ‘/mnt/dev/null’: File exists

7.输入 “/sbin/passwddefault” 命令以将所有密码重置为其默认值。
sh-4.3# /sbin/passwddefault
Warning! All user(s) and password configuration will be reset to factory default.
是否要继续? [y/n] :y
RASLOG module initialization failed rc=-1
fabosInit error: -1
RASLOG module initialization failed rc=-1
fabosInit error: -1
RASLOG module initialization failed rc=-1
fabosInit error: -1
RASLOG module initialization failed rc=-1
fabosInit error: -1
Raslog Module Initialization failed rc=-1
fab
fabsys device openopen: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
fabsys device open: No such file or directory
All account passwords have been successfully set to factory default.
sysmodAttach open failed: No such file or directory
Logging out all the sessions of user genericmsg

提醒:粗体输出之前的错误消息是预期的。

8.输入 “/sbin/reboot -f” 以重新启动交换机。
sh-4.3# /sbin/reboot -f

9.交换机完成重新启动后,使用 telnet、串行或 SSH 连接以管理员身份登录到交换机,并为所有帐户设置新密码。
10.在密码恢复之后,如果需要 root 帐户,则必须使用“userconfig”命令和通过“rootaccess”命令配置的接口启用它。
示例:
BR-G720-2XXXX9:FIXXX8:admin> userconfig --change root -e yes

BR-G720-2XXXX9:FIXXX8:admin> rootaccess --set all
Changing root access permission will terminate existing sessions.
Please confirm to proceed (yes, y, no, n): [no] y

原文:https://www.dell.com/support/kbdoc/zh-cn/000194031/connectrix-brocade-b-series-how-do-you-recover-password-with-secure-boot-enabled-on-gen-6-and-gen7-switches-non-director?lwp=rt

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值