FCP target adapter showing LINK DISCONNECTED due to faulty SFP on switch side
Applies to
- ONTAP 9
- FCP
- Brocade and Cisco SAN switches
Issue
- Event log entry indicates an FC link is disconnected:
5/23/2020 21:11:31 cluster-node1 ERROR scsitarget.ispfct.linkBreak: Link break detected on Fibre Channel target adapter 1b. Firmware status code status1 0x2, status2 0x7, and status4 0x0.
sysconfg -a
reports the port status as "Link Disconnected
"
slot 1: Fibre Channel Target Host Adapter 1b
(QLogic 8324 (8362) rev. 2, <LINK DISCONNECTED>)
Board Name: QLE2672
Serial Number: RFE2005W04482
Firmware rev: 8.9.0
Flash rev: 1.1.2
Host Port Addr: 000000
FC Nodename: xx:0a:09:80:80:xx:xy:xx (500a098080b3a125)
FC Portname: xx:0a:09:82:80:xy:yy:xx (500a098280b3a125)
Connection: No link
Switch Port: Unknown
SFP Vendor Name: FINISAR CORP.
SFP Vendor P/N: FTLF8529P4BCV-QM
SFP Vendor Rev: B
SFP Serial No.: P2SABCS
SFP Connector: LC
- Rx and Tx power shows as
0.0 (uWatts)
for the Fibre Channel Target Adapter underFCP-Adapter.xml
log in ASUP:
Rx : 0.0 (uWatts)
Tx : 0.0 (uWatts)
- Rx and Tx power is optimal on either ends, storage and switch side.
port 9a
Rx : 623.0 (uWatts)
Tx : 1020.9 (uWatts)
Slot 9/Port 2:
RX Power: -0.5 dBm (883.9uW)
TX Power: -1.6 dBm (697.3 uW)
Network fcp adapter show
command executed on CLI reports the operational status as "link disconnected"
cluster::> network fcp adapter show
Connection Port Admin Operational
Node Adapter Established Address Status Status
------------ ------- ----------- --------- ------- -----------------------
cluster-node1
0c false 0 up link not connected
cluster-node1
0d false 0 up link not connected
cluster-node1
1a true f0500 up online
cluster-node1
1b true 0 up link disconnected
cluster-node2
0c false 0 up link not connected
cluster-node2
0d false 0 up link not connected
cluster-node2
1a true f0600 up online
cluster-node2
1b true f0600 up online
- The storage HBA port is still physically connected
- Below troubleshooting steps can be verified to isolate the issue:
- Verify the remote SFP health and bounce the port using below commands:
Cisco Example:
switch# config terminal
switch(config)# interface fc <slot>/<port#>
switch(config)# show int fc <slot>/<port#> transceiver detail
switch(config-if)# shutdown
switch(config-if)# no shutdown
Brocade Example:
switch:admin> sfpshow <index # OR slot/port #>
switch:admin> portdisable <index # OR slot/port #>
switch:admin> portenable <index # OR slot/port #>
- Perform physical inspection and re-seat link and patch panel components.
- Repeat port bounce process after re-seat.
- Replace/Swap components including cable and sfp on either ends.