09-26-2025 06:02 AM - edited 09-26-2025 06:04 AM
Step 1.To add our existing ACI environment we have to downgrade Leaf from version 15.2.8d to 15.2.7f then i will add ACI environment but So as per cisco document i used below command :
(none)# touch /tmp/install_in_progress
(none)# copy usb/usb1/aci-n9000-dk9.15.2.7f.bin bootflash/
(none)# setup-bootvars.sh aci-n9000-dk9.15.2.7f.bin
(none)# cat /mnt/cfg/0/boot/grub/menu.lst.local
boot aci-n9000-dk9.15.2.7f.bin
(none)# cat /mnt/cfg/1/boot/grub/menu.lst.local
boot aci-n9000-dk9.15.2.7f.bin
This command will reload the chassis, Proceed (y/n)? [n]: y
but after reboot it didn't booting up properly it's booting and booting why ? did i mistake to add any command ? and also i saw iso is already in dir bootflash/ and also informed that i kickout usb after reboot few times.
Step 2. Then i took help from TAC enginner then they provide me few command to use in boot loader mode then it works. below command i use and i used here usb pendrive
loader > dir
usb1::
System Volume Information
aci-n9000-dk9.15.2.7f.bin
bootflash::
mem_log.txt.old.gz
auto-s
mts_buffer_log.log
CpuUsage.Log
lxc
.rpmstore
disk_log.txt
bfd_lib_1.dbg
libmon.logs
lost+found
zl303xx_fw_upgrade.log
aci-n9000-dk9.15.2.7f.bin
bios_bootup_scratch_not_cleared
loader > cmdline recoverymode =1
loader > cmdline init_system
loader > cmdline clear_config
loader > cmdline clear_log
loader > boot usb1:aci-n9000-dk9.15.2.7f.bin
Security Lock
Booting usb1:aci-n9000-dk9.15.2.7f.bin
Trying diskboot
Filesystem type is fat, partition type 0x83
Image valid
Image Signature verification was Successful.
User Access Verification
(none) login: admin
(none)# setup-bootvars.sh aci-n9000-dk9.15.2.7f.bin
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
Done
(none)#
>> Final query that why step 01 wasn't worked for Leaf switches and also informed that i have applied this iso on SPINE Switchs but got ok. is there any differnece between spine and leaf ?
>> after reboot it didn't booting up properly it's booting and booting why ? did i mistake to add any command ? and also i saw iso is already in dir bootflash/ and also informed that i kickout usb after reboot few times.
BR
ZHD27
09-26-2025 08:25 AM
I actually always do it like Step 2... just a bit simpler. I always simply break into bootloader, copy the image I need from a USB Drive and boot it .. without all the other fuzz. And it worked everytime so far.
As to what happened during your Step 1... the only thing I can think of is that the agressive bootflash cleanup script on ACI Leaves has deleted the file.
09-26-2025 10:53 AM
Thanks.
For step 02 >> should i use all below command or not ? if not then which is recommeded to use. here is command
loader > cmdline recoverymode =1
loader > cmdline init_system
loader > cmdline clear_config
loader > cmdline clear_log
For Step 02 >> you have mentioned agressive bootflash cleanup script but does leaf will automatically remove or should i use any wrong command ?
BR
zhd27
09-26-2025 11:48 AM
Not sure about recommended or best practice ways.. I can just tell you how I have been doing that successfully for years now.
I always simply break to bootloader, copy image from usb to flash, then boot - no more and no less.
Hope that helps!
BR Jules
09-27-2025 03:04 AM
All good?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide