cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

299
Views
0
Helpful
2
Replies
dpkline01
Beginner

Static Port Bindings Report

I'm trying to get a JSON/XML output from APIC showing all the EPGs associated to a VPC pair and the external VLAN Mappings.  I've been able to find it in the GUI, but can't seem to export it in any usable form.  I need to copy the configuration to a different set a leaf IDs on new ports for a migration.

 

GUI Location is Fabric -> Inventory -> Leaf -> Interfaces -> VPC Interfaces -> VPC -> VLANs Tab

 

Anyone else find this information?  My google skills are lacking on this one.

2 REPLIES 2
Sergiu.Daniluk
VIP Engager

Hi @dpkline01 

Try using a GET to this url:  http://apic1/api/node/class/topology/pod-1/node-201/vpcDom.json

Change the values from the URL with your desired apic IP, pod id, and node id.

 

Stay safe,

Sergiu

 

nileshgore25
Beginner


The following query will give EPG static bindings for all paths VPC as well as for non-VPC

https://{{apic}}/api/class/fvRsPathAtt.json?rsp-subtree=full&rsp-prop-include=config-only

 

if you have used some naming convention for VPC policy groups, like if you have VPC word in the VPC policy group, then you can use the following query to filter only the EPG static bindings on the VPC ports.

https://{{apic}}/api/class/fvRsPathAtt.json?query-target-filter=wcard(fvRsPathAtt.dn,"vPC")&rsp-subtree=full&rsp-prop-include=config-only

Content for Community-Ad