10-05-2021 11:09 AM
Hello all,
I know that I can get the snmp interface index (ifindex) value from an ACI leaf by running the NX-OS style command show interface snmp-ifindex , but is there any way to get the snmp ifindex for an interface via moquery? I can't seem to find a class that contains this information.
Thanks!
Solved! Go to Solution.
10-07-2021 12:03 AM
Hi @vv0bbLeS
I see in 4.2 versions' MIM being mentioned about synthetic:RsPhysIf, with an attribute:
Type: nw:IfId Primitive Type: base:IfIndex Units: null Encrypted: false Access: implicit Category: TopLevelRegular
However, you cannot pull this info using moquery.
I was also not able to find any other class to get ifindex info.
Note: I am using this https://developer.cisco.com/site/apic-mim-ref-api/ to search for classes.
Stay safe,
Sergiu
10-07-2021 12:03 AM
Hi @vv0bbLeS
I see in 4.2 versions' MIM being mentioned about synthetic:RsPhysIf, with an attribute:
Type: nw:IfId Primitive Type: base:IfIndex Units: null Encrypted: false Access: implicit Category: TopLevelRegular
However, you cannot pull this info using moquery.
I was also not able to find any other class to get ifindex info.
Note: I am using this https://developer.cisco.com/site/apic-mim-ref-api/ to search for classes.
Stay safe,
Sergiu
10-07-2021 07:22 AM
@Sergiu.Daniluk ok great, thanks so much for looking! Maybe they will add that in a future release.
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