Hello everyone, I have a simple script which will snmpbulkwalk through .220.127.116.11.18.104.22.168.1.2 and .22.214.171.124.126.96.36.199.1.8 and will match interface with status (Gigabit1/1 is up, 1/2 is down etc).
My problem is that I can't find a way to pickup the interface type as well (SFP or RJ45 par example), in the oid's I cant find anything under the .188.8.131.52.184.108.40.206 tree. Any ideas..?
Thank you in advance.
It appears most vendors do not provide interface types under .220.127.116.11.18.104.22.168 (IF-MIB), but rather in their own private MIBs.
In the case of Cisco, ENTITY-MIB may be the future-proof candidate, though it doesn't seem to provide nearly the same equivalent info as CISCO-ENTITY-VENDORTYPE-OID-MIB-V1SMI (which may be deprecated, due to the "OLD" part).
entPhysicalDescr / 22.214.171.124.126.96.36.199.188.8.131.52
cevModuleSFPType / 184.108.40.206.220.127.116.11.18.104.22.168
or in the case of RJ45s, it appears to be hardware platform specific, e.g.: