取消
显示结果 
搜索替代 
您的意思是: 
cancel
6092
查看次数
22
有帮助
2
评论
jingjian
Spotlight
Spotlight
其实思科也提供官方文档,主要步骤如下,但是最终交换机进入到了bash模式,不清楚是什么情况。
Step 1 Reload the switch.
Step 2 Enter a break sequence (Ctrl-C or Ctrl-]) during the initial boot sequence to access the loader> prompt.
Step 3 Configures the boot process to stop at the switch(boot)# prompt.
Example:
loader> cmdline recoverymode=1
Step 4 Boot the active supervisor module with the Cisco NX-OS image.
Example:
loader> boot nxos-image-name
Step 5 Restores the switch's file system partitioning to the default settings.
Example:
switch(boot)# init system
Step 6 Completes the upload of the nx-os image file.
Example:

switch(boot)# load-nxos
....System is coming up ... Please wait ...
....System is coming up ... Please wait ...

..bash-4.2#

虽然使用官方的做法没有成功,根据官方的步骤,我把自己的方法分享给大家,供大家参考

第一步:重启ACI模式的N9K交换机
(none)# reload
第二步:按CTRL+C进入到loader模式
第三步:从USB引导NX-OS镜像
loader > boot usb1:nxos.7.0.3.I7.2.bin
Booting usb1:nxos.7.0.3.I7.2.bin
Trying diskboot
Filesystem type is fat, partition type 0xc
Image valid
Image Signature verification wasSuccessful.
第四步:进行NX-OS初始化配置
Abort Auto Provisioning and continue withnormal setup ?(yes/no):yes
Do you want to enforce secure passwordstandard (yes/no) : no
Enter the password for "admin": cisco@123
Confirm the password for "admin": cisco@123
Would you like to enter the basicconfiguration dialog (yes/no): no
第五步:输入用户名和密码进入到NX-OS系统
login: admin
Password: cisco@123
第六步:把NX-OS从U盘安装到BootFlash中,系统会进行一系列检查,所有的状态必须为SUCCESS.
switch#install all nxos usb1:nxos.7.0.3.I7.2.bin
Installer will perform compatibility checkfirst. Please wait.
Installer is forced disruptive
Copying image from usb1:/nxos.7.0.3.I7.2.binto bootflash:///nxos.7.0.3.I7.2.bin.
[####################] 100% -- SUCCESS
Verifying imagebootflash:///nxos.7.0.3.I7.2.bin for boot variable "nxos".
[####################] 100% -- SUCCESS
Verifying image type.
[####################] 100% -- SUCCESS
Preparing "nxos" version infousing image bootflash:///nxos.7.0.3.I7.2.bin.
[####################] 100% -- SUCCESS
Preparing "bios" version infousing image bootflash:///nxos.7.0.3.I7.2.bin.
[####################] 100% -- SUCCESS
Performing module support checks.
[####################] 100% -- SUCCESS
Notifying services about system upgrade.
[####################] 100% -- SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
------ -------- -------------- ------------ ------
1 yes non-disruptive copy-only
Images will be upgraded according tofollowing table:
Module Image Running-Version(pri:alt) New-Version Upg-Required
------ ---------- ---------------------------------------- -------------------- ------------
1 nxos 7.0(3)I7(2) 7.0(3)I7(2) no
1 bios v05.22(05/31/2017):v05.22(05/31/2017) v05.24(08/02/2017) yes
第七步:检查完成后,确认升级NXOS和BIOS,此过程不可断电
Doyou want to continue with the installation (y/n)? y
Install is in progress, please wait.
Performing runtime checks.
[####################] 100% -- SUCCESS
Setting boot variables.
[####################] 100% -- SUCCESS
Performing configuration copy.
[####################] 100% -- SUCCESS
Module 1: Refreshing compact flash andupgrading bios/loader/bootrom.
Warning: please do not remove or power offthe module at this time.
[####################] 100%
[####################] 100% -- SUCCESS
第八步:当看到所有的状态都是SUCCESS后,保存配置,并重启机器,验证是否可以正常引导启动。
switch#copy running-config startup-config
switch#reload

评论
13nash
Level 8
Level 8
这个都没有碰过
andrewxu1992
Community Member
一般还会敲下 no boot ACI 吧?
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接