02-02-2015 03:08 AM - edited 03-01-2019 04:48 AM
Hi,
I accidentally disabled my 2 interfaces of ACI spine during some testing and due to which the Spine is showing up unreachable. I have lost access on the spine now. I have access to the APIC controller.
can anyone please guide me how to bring that interface back up so that it starts showing up again in the Pod1.
Regards
Harish
02-02-2015 05:31 AM
Harish,
Hopefully you have access to the CONSOLE port of the SPINE in question. Either by a Terminal Server connection or physical access. If you can reset the configuration on the SPINE so that it has to RE-REGISTER with the Fabric and then it will reconfigure itself.
Assuming Console access is in place:
From the APIC GUI ->
From the CONSOLE of the SPINE ->
setup-bootvars.sh <firmware image>
setup-clean-config.sh <firmware image>
For example:
setup-bootvars.sh aci-n9000-dk9.11.0.2m.bin
setup-clean-config.sh aci-n9000-dk9.11.0.2m.bin
Confirm with "Y or y" for yes and when the commands have completely configured. Reboot\reload the SPINE switch.
At this time the SPINE **SHOULD** reload and come back up into "discovery" mode.
From the APIC GUI ->
If this does not work, you should open a Cisco TAC Case so that we can get access to resolve your issues. Thank you for using the Cisco Support Communities and I hope this information helps!
Cheers!
T.
Reference Material:
TIP OF THE DAY: How to erase a LEAF \ SPINE configuration and restore to factory defaults
https://supportforums.cisco.com/document/12325246/tip-day-how-erase-leaf-spine-configuration-and-restore-factory-defaults
02-02-2015 05:35 AM
Thanks Tomas,
The problem is - I don't have console access and physical access. What my thought was - what if we decommission the spine totally and then under the Fabric Membership - commission it again. Will that help.
I am not sure, if the chassis will come back up it keep the interface "Admin UP" or by default it's shutdown.
Otherwise the option of erasing config and commissioning it as new is only remained which you have suggested.
your thought ?
Regards
Harish
02-02-2015 05:42 AM
Harish,
From your original comments, "I accidentally disabled my 2 interfaces of ACI spine during some testing"
From this I am making an assumption that you shutdown the FABRIC interfaces which is used by the APICs. So the APICs will NOT be able to configure the SPINES.
Please provide the output of the command "acidiag fnvread". Perform on the CLI of APIC. SSH to APIC IP address.
If you have OOB management access configured on APIC & SPINE, you SHOULD be able to SSH to SPINE and perform the ABOVE TASKS to reset the SPINE.
Do you have OOB management addresses setup on your switch NODES?
T.
02-02-2015 08:04 AM
Do you have out-of-band access to the spine? If so you can use a local task to bring the interface back up. The command on the spine to do so is 'setinservice' but there are issues with this command in all shipping versions of code that prevent it from working. Regardless the actions the command on the spine take can be accomplished with the REST API and the Python SDK. This gist gives an example of bringing an interface backup via the Python SDK.
https://gist.github.com/mtimm/d6998c755c5235a2dcde
Mike
Edit: To be clear, you still need to remove the policy from the APIC then bring it up on the fabric node, otherwise the APIC will just shut it back down.
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