Reference Guide

164 Brocade Fabric OS Command Reference
53-1004112-02
creditRecovMode
Examples
To enable backend port credit loss recovery with the link reset only option and to display the configuration:
switch:admin> creditrecovmode --cfg onLrOnly
switch:admin> creditrecovmode --show
Internal port credit recovery is Enabled with LrOnly
C2 FE Complete Credit Loss Detection is Enabled
To enable backend port credit loss recovery with the link reset threshold option and to display the configuration:
switch:admin> creditrecovmode --cfg onLrThresh
switch:admin> creditrecovmode --show
Internal port credit loss recovery is Enabled with LrThresh
C2 FE Complete Credit Loss Detection is Enabled
To disable backend port credit loss recovery and to display the configuration:
switch:admin> creditrecovmode --cfg off
switch:admin> creditrecovmode --show
Internal port credit loss recovery is Disabled
C2 FE Complete Credit Loss Detection is Enabled
To configure a fault option and to display the configuration:
switch:admin> creditrecovmode --fault edgecoreblade
switch:admin> creditrecovmode --show
Internal port credit recovery is Disabled
Back end port Loss of Sync's Link Reset is Enabled with LrThresh
LR threshold (currently activated): 2
Fault Option : EDGECOREBLADE
C2 FE Complete Credit Loss Detection is Disabled
To disable credit loss detection on 8 Gbps-capable front-end ports:
switch:admin> creditrecovmode --fe_crdloss off
switch:admin> creditrecovmode --show
Internal port credit loss recovery is Disabled
C2 FE Complete Credit Loss Detection is Disabled
To examine a backend port for credit loss:
switch:admin> creditrecovmode --cfg off
switch:admin> creditrecovmode --check 2/32,1
Started Credit loss Detection on slot 2 port 32 VC 1.
Please wait....
Detected credit loss.
Link Reset performed.
To activate credit loss and loss of sync detection with link reset and set link reset threshold value to 10:
switch:admin> creditrecovmode --cfg onLrThresh --lrthreshold 10
switch:admin> creditrecovmode --show
Internal port credit recovery is Enabled with LrThresh
Back end port Loss of Sync's Link Reset is Enabled with LrThresh
LR threshold (currently activated): 10
Fault Option : COREBLADE
C2 FE Complete Credit Loss Detection is Disabled