Reference Guide
Brocade Fabric OS Command Reference 161
53-1004112-02
creditRecovMode
creditRecovMode
Enables credit loss recovery on back-end ports of 8Gbps-capable, 16Gbps-capable, 32 Gbps-capable blades, and
time-out based credit loss detection of 8 Gbps-capable front-end ports.
Synopsis creditrecovmode --cfg [off | onLrOnly | onLrThresh]
[-lrthreshold threshold]
creditrecovmode --fault [edgeblade | coreblade | edgecoreblade]
creditrecovmode --check [slot/]blade_port,VC
creditrecovmode --fe_crdloss [off | on]
creditrecovmode --be_crdloss [off | on]
creditrecovmode --be_losync [off | on]
creditrecovmode --linkreset [slot/]blade_port
creditrecovmode --show
creditrecovmode --help
Description Use this command to enable or disable credit recovery of backend ports and to display the configuration. When
this feature is enabled, credit is recovered on backend ports (ports connected to the core blade or core blade
backend ports) when credit loss has been detected on these ports. If complete loss of credit on a 8 Gbps-capable
backend port causes frame timeouts, a link reset will be performed on that port regardless of the configured
setting, even if that setting is --cfg off. When used with the --cfg onLrOnly option, the recovery mechanism takes
the following escalating actions:
• When it detects credit loss, it performs a link reset and logs a RASlog message (RAS Cx-1014).
• If the link reset fails to recover the port, the port reinitializes. A RASlog message is generated (RAS Cx-1015).
Note that the port reinitialization does not fault the blade.
• If the port fails to reinitialize, the port is faulted. A RASlog message (RAS Cx-1016) is generated.
• If a port is faulted and there are no more online backend ports in the trunk, the core blade is faulted. (Note that
the port blade will always be faulted.) A RASlog message is generated (RAS Cx-1017).
When used with the --cfg onLrThresh option, recovery is attempted through repeated link resets and a count of
the link resets is kept. If the threshold of more than the configured threshold value (using the -lrthreshold option)
per hour is reached, the blade is faulted (RAS Cx-1018). Note that regardless of whether the link reset occurs on the
port blade or on the core blade, the port blade is always faulted.
The onLrOnly and onLrThresh options activate link reset for both credit loss and loss of synchronization. The
be_crdloss option activates link reset for credit loss only. The be_losync option activates link reset for loss of
synchronization only.