03-12-2024 02:34 AM - edited 03-22-2024 08:51 AM
Dear Community,
I would like to run a command on ACI where it is possible to see on each contract having the IP_ANY filter who is the Consumed and who is the Provider.
APIC Version: 4.2(7f)
Currently I was able to extrapolate which contracts use the IP_ANY filter through the command
moquery -c vzSubj -x query-target=children | grep "^dn " | cut -c20- | grep IP_ANY
I would like to implement the query by also inserting the last requested data.
Thanks in advantage and best regards.
Solved! Go to Solution.
03-22-2024 08:33 AM
Dear Community,
I found the command
moquery -c vzBrCP -f 'vz.BrCP.dn=="uni/tn-<TENANT-NAME>/brc-<CONTRACT-NAME>"' -x 'rsp-subtree=children rsp-subtree-class=relnFrom' | egrep "name |rn"
Best Regards,
kekkophone
03-22-2024 08:33 AM
Dear Community,
I found the command
moquery -c vzBrCP -f 'vz.BrCP.dn=="uni/tn-<TENANT-NAME>/brc-<CONTRACT-NAME>"' -x 'rsp-subtree=children rsp-subtree-class=relnFrom' | egrep "name |rn"
Best Regards,
kekkophone
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