fnvread command
apic1# fnvread id address disabled active occupied permanent model nodeRole nodeType fabricId podId ------------------------------------------------------------------------------------------------------------------------------------------------------------ 1101(1) 10.1.120.65/32(1) NO(0) YES(1) YES(1) YES(1)N9K-C9332C(1) 3(1) 0(1) 1(1) 1(1) 1201(1) 10.1.120.64/32(1) NO(0) YES(1) YES(1) YES(1)N9K-C93180YC-FX(1) 2(1) 0(1) 1(1) 1(1) 1202(1) 10.1.120.66/32(1) NO(0) YES(1) YES(1) YES(1)N9K-C93180YC-FX(1) 2(1) 0(1) 1(1) 1(1)
moquery command (this one shows the APIC’s)
apic1# moquery -c fabricNode | egrep "^id|^model|^name " id : 1201 model : N9K-C93180YC-FX name : Leaf1201 id : 1202 model : N9K-C93180YC-FX name : Leaf1202 id : 1101 model : N9K-C9332C name : Spine1101 id : 1 model : APIC-SERVER-M3 name : apic1