Connectrix:Cisco MDS:超过阈值时必须记录 SFP 错误或警告值

Summary: 此增强请求是为了在端口管理器检测到值超过阈值时记录值。

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

当其中一个 SFP 越过时,交换机会报告事件。如果这种情况在最后一天重复多次,则无法知道事件发生时的值是多少。
 
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

当 SFP 条件超过指定的数字光学监测阈值并且日志记录日志收到有关阈值级别的连续警报时,会出现此问题。


受影响的 NX-OS 版本:
9.4(1a)
8.4(2f)

Resolution

解决方法:

将事件添加到 OBFL 错误统计信息允许自动分析事件和 SFP 电压详细信息。

涉及的步骤:
1.Config t
2.hw-module logging onboard
3.hw-module logging onboard error-stats
4.copy running-config startup-config

示例:

image.png
 
---------------------------------------------------------------------------------------------------------------------------
 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

请求的新系统日志格式类似于:
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
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.