Forum Discussion

F5_LB_Eng's avatar
F5_LB_Eng
Icon for Cirrostratus rankCirrostratus
Mar 27, 2023

How to find route domain OID

how to find OID for particular router domain in F5
  • JRahm's avatar
    Apr 05, 2023

    hi F5_LB_Eng, I'm not sure which oid specifically you're looking for, but the available list is in the F5-BIGIP-LOCAL-MIB.txt file in /usr/share/snmp/mibs directory on your BIG-IP. If you're looking for the name, you can walk it by name and then compare with another walk with the -On switch as shown below. snmptranslate is how I'd normally do this, but it doesn't seem to work correctly on these oids or I don't remember how to escape the quotes or slashes in the named string.

     

    [root@ltm15:Active:Standalone] mibs # snmpwalk -v 2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmRouteDomainStatName
    F5-BIGIP-LOCAL-MIB::ltmRouteDomainStatName."/Common/0" = STRING: /Common/0
    F5-BIGIP-LOCAL-MIB::ltmRouteDomainStatName."/Common/tenant15" = STRING: /Common/tenant15
    F5-BIGIP-LOCAL-MIB::ltmRouteDomainStatName."/Common/tenant16" = STRING: /Common/tenant16
    [root@ltm15:Active:Standalone] mibs # snmpwalk -On -v 2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmRouteDomainStatName
    .1.3.6.1.4.1.3375.2.2.15.2.3.1.1.9.47.67.111.109.109.111.110.47.48 = STRING: /Common/0
    .1.3.6.1.4.1.3375.2.2.15.2.3.1.1.16.47.67.111.109.109.111.110.47.116.101.110.97.110.116.49.53 = STRING: /Common/tenant15
    .1.3.6.1.4.1.3375.2.2.15.2.3.1.1.16.47.67.111.109.109.111.110.47.116.101.110.97.110.116.49.54 = STRING: /Common/tenant16

    Here's how that oid string breaks down if you just want to derive the oids yourself: