Posts

Showing posts from June, 2021

Cisco ACI - Adding a Tenant from Postman Using the API

Image
Before following these steps you need to have a token for the API stored in Postman.  The process for this can be found here . Creating the Tenant Right Click on your Collection Name (Cisco ACI Sandbox in my case), and click "Add Request" Right Click on your Collection Name (Cisco ACI Sandbox in my case), and click "Add Request" There are a couple steps in this piece: Name the Request "Create Tenant". Change the yype of request from GET to POST, since we're pushing a configuration. You can use the following URL to test against the sandbox, but you can change the hostname to your own APIC. https:// sandboxapicdc.cisco.com /api/mo/uni.json      4. Lastly in the Body you want to put the following JSON in place, and edit the name to whatever you'd like it to be.  {   "fvTenant" : {    "attributes" : {      "name" : " DBTN-Tenant "      }    } }     5. and finally, Click "Send" Now we will want to valid...

Cisco ACI - Logging in from Postman Using the API

Image
 Most Network Engineers I know are like me, and are largely stuck in our ways of using the CLI. Cisco ACI is almost entirely GUI-based and really there isn't much you can do via the CLI.  Tasks that used to be so simple are now increasingly time-consuming. For Example; I had to configure an access port last week and it took me 10 minutes to get all the options correctly selected before I was done configuring the port. What used to be an easy procedure, whether manual or not, is now far more complicated, with several steps that can be easily missed.  To that end: I've started using the Postman Collection Runner to ensure I'm not missing any of the steps needed to complete these tasks.  Anyway, the first step to using the API is knowing how to get the API Token, which I'll now go over using Cisco's sandbox APIC found at sandboxapicdc.cisco.com. Open Postman, and click "+New Collection." Name it whatever name you prefer, and click "Create". Under yo...

Cisco ACI - Adding a Tenant from the APIC GUI

Image
  Quick Steps on how to Create a Tenant from the APIC GUI. Step 1) Log into the APIC into the APIC. Step 2) Select 'Tenants' from the tabs at the top Step 3) Select "Add Tenant" Step 4) Name your Tenant then click Submit. Then you can go back to the All Tenants Tab and validate that the Tenant was created.

Cisco ACI - Performing a Rebuild of an APIC

I recently ran into an issue where I had to rebuild an APIC in our ACI Fabric, and needed to rebuild it entirely.  The procedure is pretty simple, and I had ssh access to the device, so was able to complete it very quickly, you can also run this from the rescue-user either via ssh or console if all else fails. Run the following 3 commands: acidiag touch clean acidiag touch setup acidiag reboot Upon reboot it will bring you directly into the Setup Utility and you can add it back to the ACI Fabric. Official Documentation Source:  https://www.cisco.com/c/en/us/td/docs/switches/datacenter/aci/apic/sw/1-x/troubleshooting/b_APIC_Troubleshooting/b_APIC_Troubleshooting_chapter_01001.html