04-30-2019 06:45 AM
Hi,
If I know the EPG name, I could find the policy tag of that EPG via "show epg" command on APIC.
However if I know only the policy tag, how could I find the EPG of that policy tag via CLI. I couldn't find this information anywhere.
Kind Regards,
Ahmet Mustafa Mungan
Solved! Go to Solution.
04-30-2019 07:34 AM
Hello,
pcTag alone is not a primary key in your Fabric. You need also to provide the VRF ID.
Here is your command:
moquery -c fvAEPg -f 'fv.AEPg.pcTag=="your_pcTag" and fv.AEPg.scope=="your_VRF_ID"' | grep ^dn
Remi Astruc
04-30-2019 07:34 AM
Hello,
pcTag alone is not a primary key in your Fabric. You need also to provide the VRF ID.
Here is your command:
moquery -c fvAEPg -f 'fv.AEPg.pcTag=="your_pcTag" and fv.AEPg.scope=="your_VRF_ID"' | grep ^dn
Remi Astruc
05-02-2019 03:08 AM
Hi Remi,
Moquery command was a perfect advice. Thank you so much for your support.
Kind Regards.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide