Reset Search
 

 

Article

When reading the optical values via SNMP, the switch sends the wrong scale

« Go Back

Information

 
TitleWhen reading the optical values via SNMP, the switch sends the wrong scale
Symptoms
Using the OID “entPhySensorEntry” (1.3.6.1.2.1.99.1.1.1) to collect the SFP+ transceiver details.

* D-001-1.40 # sh port 45 transceiver information detail

Port : 45

Media Type : SF+_SR
Vendor Name : OPNEXT,INC
Part Number : TRS2000EN-S302
Serial Number : 1032A-80242
Wavelength : 850 nm

Temp (Celsius) : 31.38 Status : Normal
Low Warn Threshold : 0.00 High Warn Threshold : 70.00
Low Alarm Threshold : -5.00 High Alarm Threshold : 75.00

Voltage AUX-1/Vcc (Volts) : 3.30 Status : Normal
Low Warn Threshold : 3.13 High Warn Threshold : 3.46
Low Alarm Threshold : 2.97 High Alarm Threshold : 3.63


Tx Power (dBm) : -2.10 Status : Normal
Low Warn Threshold : -7.30 High Warn Threshold : -1.30
Low Alarm Threshold : -11.30 High Alarm Threshold : 2.70

Rx Power (dBm) : -2.73 Status : Normal
Low Warn Threshold : -9.90 High Warn Threshold : -1.00
Low Alarm Threshold : -13.90 High Alarm Threshold : 3.00

Tx Bias Current (mA) : 7.00 Status : Normal
Low Warn Threshold : 2.45 High Warn Threshold : 10.20
Low Alarm Threshold : 2.45 High Alarm Threshold : 10.20
=================================================================================
N/A - parameter not applicable to transceiver connected to the port
-inf - negative infinity, parameter not defined


The same output through SNMP is as follow for the same port:

entPhySensorType.572 (EntitySensorDataType) celsius(8)
entPhySensorType.573 (EntitySensorDataType) voltsDC(4)
entPhySensorType.574 (EntitySensorDataType) amperes(5)
entPhySensorType.575 (EntitySensorDataType) watts(6)
entPhySensorType.576 (EntitySensorDataType) watts(6)

entPhySensorScale.572 (EntitySensorDataScale) units(9)
entPhySensorScale.573 (EntitySensorDataScale) units(9)
entPhySensorScale.574 (EntitySensorDataScale) milli(8)
entPhySensorScale.575 (EntitySensorDataScale) micro(7)
entPhySensorScale.576 (EntitySensorDataScale) micro(7)

entPhySensorValue.572 (EntitySensorValue) 31
entPhySensorValue.573 (EntitySensorValue) 3
entPhySensorValue.574 (EntitySensorValue) 6
entPhySensorValue.575 (EntitySensorValue) 6157
entPhySensorValue.576 (EntitySensorValue) -2


Two observations:
Issue-1:
The output for the Tx Power; entPhySensorValue.575 is “6157” and the scale is “micro“ so that means that it is 6157 microwatt (0.006157 watt)
When we convert that to dBm this will result in 7.8936915359 dBm
Actually it is 615.7 microwatt (0.0006157 watt) which convert to -2.1063084641 dBm, that value is also seen in the CLI (see “show port 45 transceiver information detail”)

Issue-2:
The output for the Rx Power; entPhySensorValue.576 is “-2”. This looks like it is the actual dBm value without any decimals while the definition says that it should be “microwatt”
Environment
EXOS 22.6
Cause
The conversion is wrong the fix in EXOS will convert the value read from Optical module to the desired optical power value in micro watts.
Resolution
CR#xos0073216 has been created for tracking this issue.
Target fix is EXOS 22.7
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255