cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1064
Views
0
Helpful
2
Replies

Static Port Bindings Report

dpkline01
Level 1
Level 1

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 Alumni
VIP Alumni

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
Level 1
Level 1


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

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:

Save 25% on Day-2 Operations Add-On License