Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

SG300 optical monitoring snmp-mib

I was positively surprised to find the optical transmit/receive values using the

show fiber-ports optical-transceiver detailed command on a SG300-10.

Now I'm wondering if there is also a SNMP-MIB to query these values?

I've already tried the CISCO-ENTITY-SENSOR-MIB used by the larger devices running Cisco IOS, but this didn't work.

3 REPLIES
Bronze

SG300 optical monitoring snmp-mib

Hello Fabian,

Here is a link for the Sx300 series MIB. I hope this will provide what you are looking for.

http://www.cisco.com/cisco/software/release.html?mdfid=283019669&flowid=18907&softwareid=283415684&release=1.1.0&relind=AVAILABLE&rellifecycle=&reltype=latest

New Member

SG300 optical monitoring snmp-mib

Hi Robert,

I've already searched these, but all tables I could identify as a possibility to contain optical monitoring information are either empty or contain only data about a nonexistent fan (which is true as this is a fanless model).

So, if it's not in the mentioned mib package, the simple answer would be it's not implemented?

New Member

Re: SG300 optical monitoring snmp-mib

I've just experienced the same problem, so I went hunting through the MIB for a suitable table and I think I've found it.

What you want to check is CISCOSB-PHY-MIB::rlPhyTestGetTable which is a table of interface tests. It extends the normal SNMP ifTable so the rows are indexed by the ifIndex (57 & 58 for the two combo ports on an SG300-10) and the test type. It appears to contain tests such as the green ethernet tests and the fiber optic tests. This is what I get on one of my SG300-10's:

$ snmptable -v 2c -c rocommunity sg300 rlPhyTestGetTable

SNMP table: CISCOSB-PHY-MIB::rlPhyTestGetTable

                rlPhyTestGetType rlPhyTestGetStatus rlPhyTestGetResult rlPhyTestGetUnits rlPhyTestGetAlarm rlPhyTestGetTimeStamp

---8<---

   rlPhyTestTableTransceiverTemp            success                 47            degree        noAlarmSet 11-Mar-2013 21:55:10

rlPhyTestTableTransceiverSupply            success            3299800         microVolt        noAlarmSet 11-Mar-2013 21:55:10

            rlPhyTestTableTxBias            success              10968        microAmper        noAlarmSet 11-Mar-2013 21:55:10

          rlPhyTestTableTxOutput            success              -6782           milidbm        noAlarmSet 11-Mar-2013 21:55:10

    rlPhyTestTableRxOpticalPower            success              -4935           milidbm        noAlarmSet 11-Mar-2013 21:55:10

         rlPhyTestTableDataReady            success                  0           boolean       notRelevant 11-Mar-2013 21:55:10

               rlPhyTestTableLOS            success                  0           boolean       notRelevant 11-Mar-2013 21:55:10

           rlPhyTestTableTxFault            success                  0           boolean       notRelevant 11-Mar-2013 21:55:10

So for example to get the transceiver temperature for port gi10, it would be at OID .1.3.6.1.4.1.9.6.1.101.90.1.2.1.3.58.5.

Most of the values match up with the output I get from "show fiber-ports optical-transceiver detailed", with a bit of dividing by 1,000's to get into the same range, however I'm at a loss how to convert the milidbm output power reported by SNMP into milliwatts as reported by the CLI. Could someone confirm the maths for that?

Matt      

2043
Views
0
Helpful
3
Replies
CreatePlease to create content