2 Replies Latest reply: Jan 30, 2018 6:20 AM by sebas.jacobs RSS

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

phanideepakreddy85

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

 

  • 1. Re: APIC show command that shows EPGs bound to a VPC policy group
    Rayvalrod

    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.

  • 2. Re: APIC show command that shows EPGs bound to a VPC policy group
    sebas.jacobs

    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")