簡介
本文檔介紹有關第4代和第5代交換矩陣互聯上恢復丟失密碼的過程的全面指南。
必要條件
對交換矩陣互聯的物理訪問。
採用元件
- 交換矩陣互聯6536。
- RJ45到DB9串列電纜。
- 筆記型電腦。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
恢復管理員帳戶密碼
附註:如果是群集配置。對兩個交換矩陣互聯重複這些步驟。
程序
- 連線到控制檯埠。 將串列管理電纜的RJ-45端插入交換矩陣互聯上的控制檯埠,並將DB-9凸端連線到筆記型電腦或其它電腦上的串列埠。
- 重新通電交換矩陣互聯:
- 關閉交換矩陣互聯的電源。
- 開啟交換矩陣互聯的電源。
- 啟動時按控制檯中的組合鍵: Ctrl + C。
- 在載入程式提示符下,找到與命令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
- 運行命令cmdline recoverymode=1以啟用恢復模式。
loader > cmdline recoverymode=1
- 啟動交換矩陣互聯上的系統映像。
loader > boot ucs-6400-k9-system.9.3.5.I42.3d.bin
- 然後進入config terminal模式。
switch(boot)# config terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)#
- 重置管理員密碼。
switch(boot)(config)# admin-password
附註:選擇至少包含一個大寫字母和一個數字的強密碼。密碼不能為空。
注意:新密碼以明文模式顯示。
9.退出配置終端模式。
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-6536-A#
相關資訊
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/hw/6454-install-guide/6454/6454_chapter_011.html