Hi,
I am looking into retrieving the number of received prefixes of a peer (via SNMP).
In other words, https://apps.juniper.net/mib-explorer/search.jsp#object=jnxBgpM2PrefixInPrefixes&product=Junos%20OS&release=17.4R1
When I do a snmp walk on the above:
jnxBgpM2PrefixInPrefixes = sess.walk("1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7")
[<SNMPVariable value='69' (oid='enterprises.2636.5.1.1.2.6.2.1.7.0.1.1', oid_index='', snmp_type='GAUGE')>,
<SNMPVariable value='123' (oid='enterprises.2636.5.1.1.2.6.2.1.7.0.1.128', oid_index='', snmp_type='GAUGE')>,
<SNMPVariable value='5' (oid='enterprises.2636.5.1.1.2.6.2.1.7.0.2.4', oid_index='', snmp_type='GAUGE')>,]
- So after the '.1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7' there is the PeerIndex (as defined here https://apps.juniper.net/mib-explorer/search.jsp#object=jnxBgpM2PeerIndex&product=Junos%20OS&release=17.4R1)
The value is equal to the number of received prefixes.
But I have no idea about the following:
what is the last 2 numbers in the oid (denoted here as xxx.yyy) .1.3.6.1.4.1.2636.5.1.1.2.6.2.1.7.<PeerIndex>.<xxx>.<yyy>
Could you please advise ?