12-16-2010 05:02 AM
Hi All
If I have a CLI SHOW Command to get some information from a switch/Router, how do I find the corresponding MIB File to this command?
Example:
I want to check the Reciever Power for a specific interface (in my case SPF in Gi1/1) the Interface is from type: DWDM-4851 SFP
#sh int gi 1/1 transceiver detail
ITU Channel 36 (1548.51 nm),
Transceiver is internally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
--------- ------------------ ---------- --------- --------- ---------
Gi1/1 33.3 100.0 95.0 -5.0 -10.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
--------- --------------- ---------- --------- --------- ---------
Gi1/1 3.25 3.59 3.50 3.09 3.00
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
--------- ----------------- ---------- --------- --------- ---------
Gi1/1 1.9 5.0 4.0 0.0 -1.0
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi1/1 -11.5 -2.0 -3.0 -33.0 -40.0
sh inv
NAME: "1", DESCR: "WS-C3560X-24"
PID: WS-C3560X-24T-L , VID: V01 , SN: FDO1417P0HG
NAME: "Power Supply 0", DESCR: "FRU Power Supply"
PID: C3KX-PWR-350WAC , VID: V01 , SN: LIT14140QKF
NAME: "FRULink Slot 1 - FRULink Module", DESCR: "FRULink 1G Module"
PID: C3KX-NM-1G , VID: V01 , SN: FDO14340KT9
NAME: "GigabitEthernet1/1", DESCR: "DWDM-4851 SFP"
PID: , VID: , SN: FR10080004
NAME: "GigabitEthernet1/2", DESCR: "DWDM-4851 SFP"
PID: , VID: , SN: FR10080005
Thanks
Willem
Solved! Go to Solution.
12-17-2010 07:35 AM
I believe you should get this using
entitySensorMIB |
this OIDs should give you the exact value..
entSensorValueEntry
12-16-2010 07:08 PM
If nothing else, one could always let "snmpwalk" loose and look through the mass of returned output for possible candidate(s).
12-17-2010 07:35 AM
I believe you should get this using
entitySensorMIB |
this OIDs should give you the exact value..
entSensorValueEntry
12-17-2010 07:52 AM
Hi
Thanks for the Answer, this seems to be the right counter.
I can not found the interface description in the SNMP Walk but checking the SNMP walk results against the show results, this must be the same.
Can you tell me how you found this SNMP OID?
Thanks
Willem
12-17-2010 08:02 AM
I have seen this come up before
Thanks,
Brahadesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide