Cisco Nexus 9000交换机Convert Image from NXOS to ACI Image

当前1台Nexus93108,运行NXOS镜像,
现在需要用在ACI环境 ,当作Leaf交换机,所以需要转换镜像模式,否则无法注册到APIC上

1 下载ACI image

在这里插入图片描述
选择分类ACI镜像
在这里插入图片描述选择对应的版本,下载
在这里插入图片描述

2 将ACI 镜像导入bootflash

可以通过SCP,FTP或直接使用U盘方式

2.1 SCP 或 FTP方式

SCP和FTP没啥说的,电脑上开个ftp server,镜像文件放在目录下,
通过telnet或SSH登录Nexus93108交换机之后,使用copy命令即可拷贝

copy ftp://cisco:123456@10.48.1.1/aci-n9000-dk9.15.2.7g.bin  bootflash:

2.2 U盘方式拷贝

U盘方式就更简单了,

2.2.1 从电脑上将镜像文件拷贝到U盘

2.2.2 U盘插到引擎上,检查U盘内容

NEXUS-93108# dir usb1:
  2138114048    Apr 04 23:54:24 2024 aci-n9000-dk9.15.2.7g.bin

2.2.3 拷贝U盘中的IOS到bootfalsh

NEXUS-93108# copy usb1:aci-n9000-dk9.15.2.7g.bin bootflash:
Copy progress 100% 538114KB
Copy complete, now saving to disk (please wait)...

2.2.4 检查bootflash文件拷贝成功

NEXUS-93108# dir bootflash: 
          0    Nov 20 12:55:12 2024 20151120_125512_poap_6630_init.log
        143    Feb 24 11:42:13 2024  20160224_114208_poap_7573_init.log
   2138114048    Nov 20 12:44:27 2024 aci-n9000-dk9.15.2.7g.bin

3 设置从ACI image启动

Nexus9000(config)#no boot nxos
Nexus9000(config)#copy run startup-config
Nexus9000(config)# boot aci bootflash:aci-n9000-dk9.15.2.7g.bin
Nexus9000(config)#exit  
Nexus9000# reload    (直接重启,一定不要保存)

重启后就会加载ACI 镜像了

4 以下为操作实例的log记录

switch(config)# no boot nxos 
switch(config)# copy runn start
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Copy complete.


switch(config)# boot aci bootflash:aci-n9000-dk9.14.1.2g.bin
Warning: Please check list of all ACI supported hardware before doing this operation, not all hardware are supported.
Warning: Booting to an ACI image will remove all nxos configuration and format bootflash. Do you want to continue (y/n)?[n] y
Performing image verification and compatibility check, please wait....

Unable remove internal file
Image verification successful.

switch(config)# reload 
!!!WARNING! there is unsaved configuration!!!
This command will reboot the system. (y/n)?  [n] y
2024 May 17 12:59:33 switch %$ VDC-1 %$ %VMAN-2-ACTIVATION_STATE: Successfully deactivated virtual service 'guestshell+'  
2024 May 17 12:59:35 switch %$ VDC-1 %$ %PLATFORM-2-PFM_SYSTEM_RESET: Manual system restart from Command Line Interface
  • 4
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值