Cisco ACI – Reset a ACI Spine/Leaf Switch to default

How to reset a aci node back to default

Home / Posts / Cisco ACI – Reset a ACI Spine/Leaf Switch to default

I wrote an updated 2023 guide for this Topic, check it out!

Login via SSH or Console to the switch

Make sure that there is an image on the leaf/spine

1
2
leaf01# dir /bootflash/aci-n9000*
/bootflash/aci-n9000-dk9.11.0.2j.bin

Make sure that this image is used as bootvar

1
2
3
4
leaf01# cat /mnt/cfg/0/boot/grub/menu.lst.local
boot aci-n9000-dk9.11.0.2j.bin
leaf01# cat /mnt/cfg/1/boot/grub/menu.lst.local
boot aci-n9000-dk9.11.0.2j.bin

If this Image is not set as bootvar, there is a script for that 🙂

1
leaf01# setup-bootvars.sh aci-n9000-dk9.11.0.2j.bin

After the check you can reset the switch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
leaf01# setup-clean-config.sh aci-n9000-dk9.11.0.2j.bin
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
In progress
Done

Just reload the switch

1
2
leaf01# reload
This command will reload the chassis, Proceed (y/n)? [n]: y

After this process you can rejoin this Switch to the fabric

 

comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy