HP Brocade 8/12c Brocade Fabric OS Command Reference Manual Supporting Fabric - Page 742
portLedTest, Turn Port status LED green.
View all HP Brocade 8/12c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 742 highlights
2 portLedTest portLedTest Synopsis Cycles user port LEDs. portledtest [-npass count][-ports itemlist][-action value] ceeportledtest [-npass count][-ports itemlist][-action value] Description Use this command to exercise the user port LEDs in the current switch. For each port, the command cycles through the ON and OFF state by setting the ATTN LEDs to green for the ON condition and unlighted for the OFF condition. The SPEED LEDs are initially set to black before the test starts. The SPEED LEDs turn green while the test is running. portLedTest and ceePortLedTest are platform-specific versions of the same test. Use ceePortLedTest on FCoE platforms only. Use fcipLedTest for GbE port testing on the Brocade 7800 and FX8-24.On all other platforms, use portLedTest. You must disable the current switch (using the switchDisable command) before running this command. After the command completes, the ATTN LEDs flash amber, indicating that the command has finished and exited. Enable the current switch (using the switchEnable command) to set the ATTN LEDs back to black. 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. Operands This command has the following operands: -npass count Specify the number of times to perform this test. The default value is 10. -ports itemlist Specify a list of user ports on which to run the test. If omitted, all the active ports in the switch are assumed. For more information, refer to the itemList command. -action action Specifies the LED color. Valid values are: 0 Cycle all Port LEDs. 1 Turn Port status LED off. 2 Turn Port status LED amber. 3 Turn Port status LED green. 16 Turn Port speed LED green. 17 Turn Port speed LED amber. Examples To test port LEDs: switch:admin> portledtest -ports 1/1-1/5 PASSED. To test port LEDs on a Brocade 8000 using default values: switch:admin> ceeportledtest PASSED. See Also fcipLedTest, itemList, switchDisable, switchEnable 710 Fabric OS Command Reference 53-1001764-01