AIX

 View Only

Displaying the Fibre channel HBA SFP information with AIX/VIOS

By YADAGIRI RAJABOINA posted Wed December 20, 2023 01:49 AM

  

Contributors: Vinayak karne, Yadagiri Rajaboina, Samyuktha Pantham

The Small Form Factor Pluggable (SFP) optical transceivers are compact and hot-pluggable devices that act as an interface between networking equipment (switch, router, network card) and interconnecting cables as shown in below Figure.

                                                                    

The SFF specification describes the format of the SFP Optical Transceiver information. The following table shows offsets of vital diagnostic parameters like Temperature, Vcc , TX Bias, TX power, RX power, etc as mentioned in SFF-8472 Specification for Management Interface for SFP+.

These diagnostic parameters are useful for monitoring the SFP health. In large data centre periodically collecting such parameters helps SAN support teams for monitoring and troubleshooting the FC HBAs.

The AIX fcstat command’s flags “-e” and “-d “ is enhanced to extract and display the SFP information as shown in below output. This functionality is added to  FC HBAs that has data rates equal to or more than 16Gb  from the following releases onwards:

·    AIX  7.3 TL2 SP1, AIX 7.2 TL5 SP7

·   VIOS 4.1.0.10, VIOS 3.1.4.31

Sample fcstat command output displaying “FC SFP information”  

 

# fcstat -e fcs0

FIBRE CHANNEL STATISTICS REPORT: fcs0

Device Type: PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103) (adapter/pciex/df1000e21410f10)

 Serial Number: 1A50400252

 . . . . .

 . . . . .

FC SFP Information

  Vendor Name: BROCADE

  Vendor OUI:   0000051e

  Vendor PN:    57-0000088-01

  Temperature:  49.195 C     [Range -128 C - +128 C]

  Voltage :         3.343 V      [Range 0 V - +6.55 V]

  TX Bias:        7.426 mA     [Range 0 mA - 131 mA]

  TX Power:    -2.7885 dBm   [Range -40 dBm - +8.2 dBm]

                        0.5262 mW    [Range 0 mW - 6.5535 mW]

  RX Power:   -3.5645 dBm   [Range -40 dBm - +8.2 dBm]

                       0.4401 mW    [Range 0 mW - 6.5535 mW ]

# fcstat -d fcs0

FIBRE CHANNEL STATISTICS REPORT: fcs0

Device Type: PCIe3 2-Port 16Gb FC Adapter (df1000e21410f103) (adapter/pciex/df1000e21410f10)

Serial Number: 1A50400252

. . . . . .

. . . . . .

. . . . . .

FC SFP Information

  Vendor Name: BROCADE

  Vendor OUI:  0000051e

  Vendor PN:   57-0000088-01

  Temperature: 47.461 C     [Range -128 C - +128 C]

  Voltage :       3.392 V      [Range 0 V - +6.55 V]

  TX Bias:      0.002 mA     [Range 0 mA - 131 mA]

  TX Power:   -40.0000 dBm   [Range -40 dBm - +8.2 dBm]

                     0.0001 mW    [Range 0 mW - 6.5535 mW]

  RX Power:   -24.9485 dBm   [Range -40 dBm - +8.2 dBm]

                       0.0032 mW    [Range 0 mW - 6.5535 mW ]

 For the case of Virtual Fibre Channel adapters, the fcstat displays as “UNKNOWN” values for SFP related information.

Also for the same releases AIX snap command’s flags “-g” and “-a” are enhanced to capture fcstat output and to generate /tmp/ibmsupt/general/fcstat.out file .

End of Document 

0 comments
47 views

Permalink