Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find route domain OID

F5_LB_Eng
Cirrostratus
Cirrostratus

how to find OID for particular router domain in F5

1 ACCEPTED SOLUTION

JRahm
Community Manager
Community Manager

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:

snmpoid_breakdown.png

 

View solution in original post

1 REPLY 1

JRahm
Community Manager
Community Manager

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:

snmpoid_breakdown.png