简介
本文档介绍有关在CIsco UCS交换矩阵互联上恢复丢失密码的过程的全面指南。
先决条件
对交换矩阵互联的物理访问。
使用的组件
- 交换矩阵互联6454。
- RJ45至DB9串行电缆。
- 笔记本电脑。
本文档中的信息都是基于特定实验室环境中的设备编写的。本文档中使用的所有设备最初均采用原始(默认)配置。如果您的网络处于活动状态,请确保您了解所有命令的潜在影响。
恢复管理员帐户密码
注意:如果属于集群配置,请对两个交换矩阵互联(一次一个)重复这些步骤。
步骤
1.连接到控制台端口。 将串行管理电缆的RJ-45端插入交换矩阵互联上的控制台端口,并将DB-9凸端连接到笔记本电脑或其它计算机的串行端口。
2.重新通电交换矩阵互联:
- 关闭交换矩阵互联电源。
- 打开交换矩阵互联电源。
3.在控制台启动时按组合键:Ctrl + C。
注:对于UCS 9108 100G交换矩阵互联,请在启动过程中按控制台中的Ctrl + C和Ctrl + L组合键。您有10秒的时间窗口来执行此操作。
4.在加载程序提示符下,找到用于通过命令dir启动的系统映像。
loader > dir
bootflash::
lost+found
ucs-manager-k9.4.2.3e.bin
.rpmstore
ucs_chassis_imgs
installables
ucs-6400-k9-system.9.3.5.I42.3d.bin <----
nuova-sim-mgmt-nsg.0.1.0.001.bin
5.运行命令cmdline recoverymode=1以启用恢复模式。
loader > cmdline recoverymode=1
6.启动交换矩阵互联上的系统映像。
loader > boot ucs-6400-k9-system.9.3.5.I42.3d.bin
7.然后进入config terminal模式。
switch(boot)# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)#
8.重置管理员密码。
switch(boot)(config)# admin-password
提示:选择至少包含一个大写字母和一个数字的强密码。密码不能为空。
警告:新密码以明文模式显示。
9.退出config terminal模式。
10.加载系统映像。
switch(boot)(config)# exit
switch(boot)# load ucs-6400-k9-system.9.3.5.I42.3d.bin
验证
通过SSH建立到交换矩阵互联的管理IP的连接,并使用更新的密码登录。
login as: admin
Pre-authentication banner message from server:
| Cisco UCS 6500 Series Fabric Interconnect
End of banner message from server
admin@X.X.X.X's password: N3wp4ssw0rd
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2009, 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
FI-6454-A#
相关信息
Cisco UCS 6400系列交换矩阵互联硬件安装指南 — 连接Cisco UCS交换矩阵互联[Cisco UCS 6400系列交换矩阵互联] — 思科
Cisco UCS 6500系列交换矩阵互联硬件安装指南 — 连接交换矩阵互联[Cisco UCS 6500系列交换矩阵互联] — 思科
Cisco UCS 6600系列交换矩阵互联安装和维修指南 — 连接交换矩阵互联[Cisco UCS 6600系列交换矩阵互联] — 思科
Cisco UCS X系列直接交换矩阵互联9108 100G安装和维修指南 — 连接交换矩阵互联[Cisco UCS X系列直接互联] — 思科