Connectrix: Cisco MDS: Must log SFP error or warning values when the threshold is crossed

Summary: This enhancement request is to log the values when the port manager detects values crossing thresholds.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

The switch reports events when one of the SFP have crossed. If this repeats several times in the last day, there is no way to know what the value was at the time of the event.
 
2024 Jan  7 19:39:38 SWITCH01 %PORT-4-IF_SFP_WARNING: Interface fc4/26, High Rx Power Warning  fc4/26 My_Storage_port0
2024 Jan  7 19:49:39 SWITCH01 %PORT-4-IF_SFP_WARNING: Interface fc4/26, High Rx Power Warning cleared  fc4/26 srv11959_b764

Cause

This issue is seen when the SFP condition crosses specified digital optic monitoring thresholds and the logging log receives continuous alerts about the threshold levels. 


Affected NX-OS version:
9.4(1a)
8.4(2f)

Resolution

Workaround:

Adding the events to OBFL error-stats allow for automated analysis of events with the SFP voltage details. 

Steps involved:

1.Config t
2.hw-module logging onboard
3.hw-module logging onboard error-stats
4.copy running-config startup-config


Example:

error-stats allow for automated analysis of events with the SFP voltage details.  
 

---------------------------------------------------------------------------------------------------------------------------
 ERROR STATISTICS INFORMATION FOR DEVICE DEVICE: FCMAC
---------------------------------------------------------------------------------------------------------------------------
    Interface   |                                                                      |                 |    Time Stamp
      Range     |                Error Stat Counter Name                               |      Count      |MM/DD/YY HH:MM:SS
                |                                                                      |                 |
---------------------------------------------------------------------------------------------------------------------------
fc4/26          |PORT_SFP_HIGH_RX_POWER_DBM                                            |         4.62 |01/07/24 19:39:38


The new requested syslog format would be similar to:

2024 Jan  7 19:39:38 SWITCH01 %PORT-4-IF_SFP_WARNING: Interface fc4/26, High Rx Power Warning 2.9 mW fc4/26 My_Storage_port0
2024 Jan  7 19:49:39 SWITCH01 %PORT-4-IF_SFP_WARNING: Interface fc4/26, High Rx Power Warning cleared  fc4/26 srv11959_b76

Products

VxBlock and Vblock Systems
Article Properties
Article Number: 000228511
Article Type: Solution
Last Modified: 19 May 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.