Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 647
53-1000599-02
switchStatusPolicySet
2
switchStatusPolicySet
Sets the policy parameters that determine overall switch status.
Synopsis switchstatuspolicyset
Description Use this command to set policy parameters for calculating the overall status of the switch
enclosure. The policy parameter values determine how many failed or faulty units of each
contributor are allowed before triggering a status change in the switch from HEALTHY to MARGINAL
or DOWN. The status of the switch can be found by issuing the switchStatusShow command. The
existence of policies such as Fans, PowerSupplies, WWN, CP, and Blade might differ from platform
to platform.
The command displays the current parameters in a three-column table format similar to what is
shown in Table 20. The command then prompts you to change the values for each policy
parameter.
Any single contributor can force the overall status of the switch to MARGINAL or DOWN. For
example, assuming that the switch contributor values are set to the default values, if there is one
faulty port in a switch, then this contributor would set the overall switch status to MARGINAL. If two
ports were faulty, then this contributor would set the overall switch status to DOWN.
Note The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability"
for details.
Operands none
Examples To change the switch policies:
switch:admin> switchstatuspolicyset
To change the overall switch status policy parameters
The current overall switch status policy parameters:
Down Marginal
----------------------------------
TABLE 20 Example of contributor, values, and status
Contributor DOWN MARGINAL
PowerSupplies 2 1
Temperatures 2 1
Fans 2 1
WWN 0 1
CP 0 1
Blade 0 1
Flash 0 1
MarginalPorts 2 1
FaultyPorts 2 1
MissingSFPs 0 0