cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3985
Views
4
Helpful
2
Replies

APIC show command that shows EPGs bound to a VPC policy group

Can some one tell me the show command that shows EPGs bound to a VPC policy group


We are running build 12.2(3r) code on our production environment

2 Replies 2

Rayval Rodman
Level 1
Level 1

Hi PhaniDeepak,

you can use the following command, this will shows the vpc and the epg associations.

show running-config vpc context leaf (add both leaf that are part of the switch selector) int vpc

************************************************************************************************************

APIC1#show running-config vpc context leaf 101 102 int vpc

vpc context leaf 101 102

    interface vpc MYVPC

      switchport trunk allowed vlan 20 tenant TEST application TEST epg TEST-EPG

*******************************************************************************************************

Thanks

Hope this what you looking for.

sebas.jacobs
Level 1
Level 1

Could do a api call as well to check upon tagging information for vPC's.

{{protocol}}://{{apic}}/api/node/class/vpcIf.json?query-target-filter=and(wcard(vpcIf.accBndlGrpDn,""))

Or approach from the epg side and request all static bindings for a specific epg.

{{protocol}}://{{apic}}/api/mo/uni/tn-LAB.json?query-target=subtree&target-subtree-class=fvRsPathAtt&query-target-filter=wcard(fvRsPathAtt.dn,"uni/tn-LAB/ap-anp_LAB/epg-epg_LAB")

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