This document describes the process to replace a leaf switch, which has failed due to a hardware issue, in Application Centric Infrastructure (ACI) mode.
There is current and working ACI fabric. A leaf has failed, which was previously functional and part of the fabric. This is due to a hardware failure and the leaf needs to be replaced.
Complete these steps in order to replace the leaf:
switch# dir usb1:
switch# copy usb1:aci-n9000-dk9.11.0.3f.bin bootflash:
switch# configure terminal
switch(config)# interface mgmt 0
switch(config-if)# ip address ipv4-address{ [/length] | [subnet-mask]}
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# vrf context management
switch(config-vrf)# ip route 0.0.0.0/0 default-gw-ip
switch(config-vrf)# exit
switch(config)# feature scp-server
switch(config)# exit
switch# copy running-config startup-config
Enter this command on the APIC:
admin@apic:~>
scp /firmware/fwrepos/fwrepo/<aci_image.bin> admin@<node-mgmt-ip>:<aci_image.bin>
switch# configure terminal
switch(config)# interface mgmt 0
switch(config-if)# ip address ipv4-address{ [/length] | [subnet-mask] }
switch(config-if)# no shutdown
switch(config-if)# exit
switch(config)# vrf context management
switch(config-vrf)# ip route 0.0.0.0/0 default-gw-ip
switch(config-vrf)# end
Verify the server can be pinged from the management VRF and then copy the image from the server into bootflash.
switch#
copy scp://scpuser@10.0.0.10/path/to/aci-n9000-dk9.11.0.3f.bin bootflash: vrf management
Enter the dir bootflash: command in order to verify the ACI image has transferred successfully to the standalone switch.
NXOS software tested: n9000-dk9.6.1.2.I3.3a.bin
ACI software tested: aci-n9000-dk9.11.0.3f.bin
Enter these commands on the standalone node:
switch# configure terminal
switch(config)# boot aci bootflash:<aci_image.bin>
switch(config)# reload
NXOS software tested: n9000-dk9.6.1.2.i2.1.bin
ACI software tested: aci-n9000-dk9.11.0.2j.1.0-2j.bin
Enter these commands on the standalone node:
switch# configure terminal
switch(config)# no boot nxos
switch(config)# end
switch# copy running-config startup-config
switch# reload
This causes the switch to boot into the 'loader>' prompt. Enter the dir command in order to list the contents of bootflash for the ACI image name.
Boot the ACI image with the boot<aci_image_name.bin> command.
The leaf boots into ACI mode in a fabric discovery state. Log in with the username admin with no password.
(none)# dir bootflash
(none)# setup-bootvars.sh <aci_image_name.bin>
leaf# cat /mnt/cfg/0/boot/grub/menu.lst.local
boot aci-n9000-dk9.11.0.3f.bin
leaf# cat /mnt/cfg/1/boot/grub/menu.lst.local
boot aci-n9000-dk9.11.0.3f.bin
The leaf receives an IP address, which is reflected in the APIC GUI.
The new leaf has now fully joined the ACI fabric and the APIC automatically pushes down all relevant policies. In this case, a leaf with Node ID 102 failed. It was replaced by another leaf, which was given the same Node ID. The APIC then pushes all policies relevant to Node 102 down to the new leaf without the need for further configuration.
On the command line the hostname changes in order to reflect what was entered into the APIC GUI, which verifies policies have been pushed down to the new node.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
02-Apr-2015 |
Initial Release |