cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9553
Views
1
Helpful
0
Comments
Tomas de Leon
Cisco Employee
Cisco Employee

QUESTION:

 

I did not perform the initial setup of our ACI Fabric. Is there a way to determine what the FABRIC NAME that was configured in the initial APIC bring up?  GUI, API, CLI, ....?

 

 

ANSWER:

 

The following technote is written against Application Policy Infrastructure Controller

Version: 1.0(2j). The following information may not apply to earlier or later versions of Application Policy Infrastructure Controller firmware versions.

 

 

Using the GUI:

  • Access the APIC Admin GUI
  • Select SYSTEM-> CONTROLLERS
  • Click "+" to expand Controllers information
  • Click "+" on an APIC (ie. apic1) to expand APIC information
  • Select "Cluster"
  • The Cluster Work Panel will display the "FABRIC NAME"

 

 

 

Using the CLI:

 

Command: acidiag avread

 

  • SSH to an APIC Controller as the "admin" user
  • Issue the command "acidiag avread"
  • Search the display output for the parameter "with FABRIC_DOMAIN name="

 

For example:

 

admin@fab2-apic1:~> acidiag avread

Local appliance ID=1 ADDRESS=10.0.0.1 TEP ADDRESS=10.0.0.0/16 CHASSIS_ID=def71f54-1d44-11e4-a03d-c5fc3df7595d

Cluster of 1 lm(t):1(zeroTime) appliances (out of targeted 3 lm(t):1(2014-11-12T08:05:33.378-04:00)) with FABRIC_DOMAIN name=rtp_fabric2 set to version=1.0(1h) lm(t):1(2014-09-22T07:01:09.054-04:00)

    appliance id=1 last mutated at 1969-12-31T20:00:00.001-04:00 address=10.0.0.1 tep address=10.0.0.0/16 oob address=10.122.254.141/24 version=1.0(2j) lm(t):1(2014-11-12T08:05:30.032-04:00) chassisId=def71f54-1d44-11e4-a03d-c5fc3df7595d lm(t):1(2014-11-12T12:07:26.190-04:00) capabilities=0XFFFFFFF lm(t):1(zeroTime) rK=(stable,absent,0) lm(t):0(2014-11-12T08:05:30.036-04:00) aK=(stable,absent,0) lm(t):0(2014-11-12T08:05:30.036-04:00) commissioned=1 registered=1 active=yes(1969-12-31T20:00:00.001-04:00) health=(applnc:255 lm(t):1(2014-11-12T08:05:50.264-04:00) svc's)

clusterTime=<diff=-14519764 common=2014-11-20T06:27:27.841-04:00 local=2014-11-20T10:29:27.605-04:00 pF=<displForm=0 offsSt=0 offsVlu=-14400 lm(t):1(2014-11-18T20:58:06.926-04:00)>>

---------------------------------------------

 

 

Command:  moquery -c infraCont | egrep -e "^dn|^fbDmNm"| cat -vet

 

For example:

 

admin@fab2-apic1:~> moquery -c infraCont | egrep -e "^dn|^fbDmNm"| cat -vet

dn           : topology/pod-1/node-1/av$

fbDmNm       : rtp_fabric2$

 

 

 

Using the Visore:

 

  • Access Visore, http://apic_ip_address/visore.html
  • Use "topology/pod-1/node-1/av" for the "Class or DN:" filter

 

FILTER

Class or DN:

topology/pod-1/node-1/av

 

 

 

 

 

Using the API:

 

In the following example, I use POSTMAN application to make API calls to the ACI Fabric.

 

  • Use a REST API client (like POSTMAN), and the following URL to perform a "GET" request to obtain the FABRIC NAME.

 

http://apic_ip_address/api/node/mo/topology/pod-1/node-1.json?query-target=children&target-subtree-class=infraCont

 

https://apic_ip_address/api/node/mo/topology/pod-1/node-1.json?query-target=children&target-subtree-class=infraCont

 

 

 

 

 

 

 

 

 

 

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card