cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2306
Views
15
Helpful
2
Replies

Moquery for SNMP ifindex

vv0bbLeS
Level 3
Level 3

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!

0xD2A6762E
1 Accepted Solution

Accepted Solutions

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @vv0bbLeS 

I see in 4.2 versions' MIM being mentioned about synthetic:RsPhysIf, with an attribute:

tSKey

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

View solution in original post

2 Replies 2

Sergiu.Daniluk
VIP Alumni
VIP Alumni

Hi @vv0bbLeS 

I see in 4.2 versions' MIM being mentioned about synthetic:RsPhysIf, with an attribute:

tSKey

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

@Sergiu.Daniluk ok great, thanks so much for looking! Maybe they will add that in a future release.

0xD2A6762E

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License