Reference Guide

Fabric OS Command Reference 171
53-1002921-02
creditRecovMode
2
creditRecovMode
Enables credit loss recovery on back-end ports and time-out based credit loss detection of Condor 2
front-end ports.
SYNOPSIS creditrecovmode --cfg [off | onLrOnly | onLrThresh]
[-lrthreshold threshold]
-fault [edgeblade | coreblade | edgecoreblade]
creditrecovmode --check [slot/]blade_port,VC
creditrecovmode --fe_crdloss [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 Condor2 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.
If you suspect complete credit loss on a particular virtual channel (VC) on a particular backend port, use
the --check option to examine that particular backend port and VC for credit loss. If the command detects
complete credit loss, it reports the information. If, in addition, you have enabled link resets on backend
ports, this command will perform a link reset on the link in an attempt to recover from the problem. You
must explicitly initiate this check and it is a one-time operation. In other words, this command does not
continuously monitor for credit loss in the background. Detection of credit loss takes 2 to 7 seconds, after
which the results of the operation are displayed. A link reset also generates a RASlog message.
For more information on the RASlog messages, refer to the Fabric OS Message Reference.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command is supported only on backend ports of Condor, Condor 2, and Condor 3-based blades in
the Brocade DCX 8510-8 and DCX 8510-4 chassis.
The --check option is supported only on modular switches, and only on links between Condor 2 core
blades and Condor 2 port blades. AP blades are not supported.