Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

726 Fabric OS Command Reference
53-1001764-01
portLedTest
22
portLedTest
Cycles user port LEDs.
SYNOPSIS portledtest
[--slot slot_number]
[-ports itemlist]
[-npass count]
[-action value]
ceeportledtest
[--slot slot_number]
[-ports itemlist]
[-npass count]
[-action value]
DESCRIPTION Use this command to exercise the user port LEDs in the current switch. When used without a slot or port
specifier, all ports are tested. 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:
--slot slot
Specifies the slot number on bladed systems. When used without the port option,
this option exercises all ports in the specified slot. When used with the port
option, only the ports specified for the specified slot are tested.
-ports itemlist
Specifies a list of front-end blade ports to test. Refer to itemList for more
information on the itemlist parameter. When specifying a ports on a chassis, the
-ports operand must be preceded by the --slot operand. Refer to the example
section for an illustration. When used without a port or slot option, all ports are
tested.
-npass count
Specify the number of times to perform this test. The default value is 10.
-action action
Specifies the LED color. Valid values include the following:
0
Cycle all Port LEDs.