09-15-2022 02:52 AM
Hello,
the commande "Show external-l3 interfaces detail" retrun many informations :
Mode, Tenant, VRF, L3Out, Interface, Operationnal Interface and IP Address
I need these informations with moquery command
Please, can you help me ?
I found for some info like mode, tenant, l3out ... but nothing linked like the show command
Thanks in advance
Valentino
10-05-2022 11:43 AM
Hi @valentik,
Please see this discussion:
10-06-2022 12:02 AM
Dear Alex,
Do you really think that I did not look before asking the question on the forum all the information available on the net?
I know what RTFM means and have been for 30 years
The most precise information is in "APIC Management Information Model Reference" and, as I specify in my request, I manage to obtain information but not the links between them.
The "Show external-l3 interfaces detail" command gives all the informations but :
moquery -c l3extOut will gives you all L3outs (uni/tn-common/out-L3OUT_COMMON_BUS_TO_MYZONE for instance)
moquery -c l3extRsNodeL3OutAtt -d uni/tn-common/out-L3OUT_COMMON_BUS_TO_MYZONE will give all nodes
moquery -c ipv4Addr -d topology/pod-1/node-1025 | grep -E "dn|addr will gives you IP addresses
But how to link one IP to one L3out ?
Thanks
10-06-2022 02:05 AM
What you can do is simply query the full subtree of l3extOut, meaning you will receive all l3extOut objects together with all their children.
moquery -c l3extOut -x rsp-subtree=full
Take care,
Sergiu
10-06-2022 02:50 AM
Hello Sergiu,
receive a thousands of informations to have some specifically ...
not sure is the best way
Valentino
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