Step1:重啟N9K設備機框,重啟加載過程中按Ctrl+C鍵
進入loader模式
Step2:設置admin還原模式
loader > cmdline recoverymode=1
Step3:設置引導IMAGE,如不確定可以通過dir查看
loader > dir
bootflash::
lost+found
.patch
.rpmstore
nxos.9.3.3.bin
home
aci-n9000-dk9.14.1.2g.bin
license_FDO241403K1_62.lic
.swtam
eem_snapshots
virtual-instance
scripts
tmptmp
20200423_103604_poap_824_init.log
poap_retry_debugs.log
20200423_103604_poap_824_1.log
20200423_103604_poap_824_2.log
platform-sdk.cmd
nxos.7.0.3.I7.7.bin
bootflash_sync_list
loader > boot nxos.9.3.3.bin //設定引導image
Step4:重置admin密碼
Copyright (C) 2002-2019, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.
switch(boot)# conf t
Enter configuration commands, one per line. End with CNTL/Z.
switch(boot)(config)# admin-password 新密碼
Step5:重新引導系統
switch(boot)# load-nxos
Unsquashing rootfs ...
Total size needed in bootflash is 99892
check bootflash : OK
Total size needed in bootflash is 35152
check bootflash : OK
Creating /dev/mcelog
Starting mcelog daemon
mcelog: Family 6 Model 56 CPU: only decoding architectural errors
INIT: Switching to runlevel: 3
INIT: Sending processes the TERM signal
fastboot or torissu for Tahoe cards