cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13535
Views
0
Helpful
4
Replies

How to find a MIB to a CLI Command?

Willem de Groot
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

I believe you should get this using

entitySensorMIB

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.91

this OIDs should give you the exact value..

entSensorValueEntry

View solution in original post

4 Replies 4

yjdabear
VIP Alumni
VIP Alumni

If nothing else, one could always let "snmpwalk" loose and look through the mass of returned output for possible candidate(s).

I believe you should get this using

entitySensorMIB

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.4.1.9.9.91

this OIDs should give you the exact value..

entSensorValueEntry

Hi

Brahadesh Srinivasaraghavan

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

I have seen this come up before

Thanks,

Brahadesh

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: