本帖最后由 arvinjing 于 2017-12-20 13:37 编辑 昨天刚把Nexus 9000的密码恢复了,今天UCS Manager遇到同样的问题,好尴尬呀,下面和大家分享密码恢复的过程
开机CTRL+L 进入loader模式loader> dir 先查看一下flash中的软件版本 bootflash:
ucs-6100-k9-kickstart.5.0.3.N2.2.11.3a.bin ucs-6100-k9-system.5.0.3.N2.2.11.3a.bin loader> boot ucs-6100-k9-kickstart.5.0.3.N2.2.11.3a.bin 先启动kickstart软件 Booting kickstart image: ucs-6100-k9-kickstart.5.0.3.N2.2.11.3a.bin....
...............................................................................
.......Image verification OK
Starting kernel...
Usage: init 0123456SsQqAaBbCcUu
INIT: version 2.85 booting
I2C - Mezz present
sprom_drv_init_platform: nuova_i2c_register_get_card_index
blogger: /var/log/isan.log: No such file or directory (2).
Starting system POST.....
Executing Mod 1 1 SEEPROM Test:...done (0 seconds)
Executing Mod 1 1 GigE Port Test:....done (32 seconds)
Executing Mod 1 1 PCIE Test:.................done (0 seconds)
Mod 1 1 Post Completed Successfully
POST is completed
autoneg unmodified, ignoring
autoneg unmodified, ignoring
S10mount-ramfs.supnuovaca Mounting /isan 3000m
Mounted /isan
Creating /callhome..
Mounting /callhome..
Creating /callhome done.
Callhome spool file system init done.
Checking all filesystems..... done.
Checking NVRAM block device ... done
The startup-config won't be used until the next reboot.
.
Loading system software
No system image Unexporting directories for NFS kernel daemon...done.
Stopping NFS kernel daemon: rpc.mountd rpc.nfsddone.
Unexporting directories for NFS kernel daemon...
done.
INIT: Sending processes the KILL signal
Cisco Nexus Operating System (NX-OS) Software
TAC support:
http://www.cisco.com/tacCopyright (c) 2002-2013, 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.phpswitch(boot)# conf tEnter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password cisco@123 设置新的密码,如果系统提示需要满足复杂性要求,就设置一个复杂一些的密码WARNING! Enabling local authentication for login through console due to password recovery
switch(boot)(config)# exit
switch(boot)# load bootflash:ucs-6100-k9-system.5.0.3.N2.2.11.3a.bin 然后启动system软件Uncompressing system image: bootflash:/ucs-6100-k9-system.5.0.3.N2.2.11.3a.bin
Loading plugin 0: core_plugin...
Loading plugin 1: eth_plugin...
Loading plugin 2: fc_plugin...
System is coming up ... Please wait ...
2017 Dec 19 07:19:24 %$ VDC-1 %$ %VDC_MGR-2-VDC_ONLINE: vdc 1 has come online
System is coming up ... Please wait ...
Cisco UCS 6200 Series Fabric Interconnect
HX-FI-A login: admin 启动完成后,使用新设置的密码登录Password: cisco@123Cisco Nexus Operating System (NX-OS) Software
TAC support:
http://www.cisco.com/tacCopyright (c) 2009, Cisco Systems, Inc. All rights reserved.
HX-FI-A#