Reference Guide
Brocade Fabric OS Command Reference 785
53-1004112-02
portLedTest
portLedTest
Cycles user port LEDs.
Synopsis portledtest
[--slot slot_number]
[-ports itemlist]
[-uports itemlist]
[-npass count]
[-action value]
Description Use this command to exercise the user port LEDs in the current switch. When used without a port specifier, all user
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.
This diagnostic cannot be run on an operational switch. You must disable the switch using the chassisDisable
command before you can run this test. After the command completes, the ATTN LEDs flash amber, indicating that
the command has finished and exited. Enable the switch using the chassisEnable command to set the ATTN
LEDs back to black.
The port LED behavior varies depending on the platform.
Notes You cannot interrupt the test by pressing the return key (<cr>).
The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "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 user 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. When a specific port is specified, the blade
port reference is used. If you want to test a specific user port, you will need root access to
the bladePortMap command to map the specified blade port to the desired user port. You
can also use the -uports option to specify the user ports. Refer to itemList for more
information on the itemlist parameter. When specifying ports on a chassis, the -ports
operand must be preceded by the --slot operand.
-uports itemlist
Specifies a list of user ports to test. If this operand is omitted, by default the test will run on
all valid blade ports in the slot. Refer to itemList for more information on the itemlist
parameter. This option is only available for 16 Gbps-capable blades.
-npass count
Specify the number of times to perform this test. The default value is 10.