Diag portledtest – Brocade Network OS Command Reference v4.1.0 User Manual
Page 258
220
Network OS Command Reference
53-1003115-01
diag portledtest
2
diag portledtest
Runs various action modes on the port LED tests and validates the functionality on a given
slot-based switch or fixed-configuration switch.
Synopsis
diag portledtest [action pattern] [ethernet rbridgeid/slot/port] [fibrechannel rbridgeid/slot/port]
[npass count] [slot slot_id]
Operands
action pattern
Specifies the LED pattern. Action choices are as follows:
blink-amber
Blink Port status LED amber
blink-green
Blink Port status LED green
cycle-all
Cycle all Port LEDs
status-amber
Turn Port status LED amber
status-green
Turn Port status LED green
turn-off
Turn Port status LED off
ethernet
The logical Ethernet interface name, which is mutually exclusive from the
Fibre Channel parameter. By default, all ports are tested.
rbridge-id
Specifies the RBridge ID. This is not valid in standalone mode.
slot
Specifies a valid slot number.
port
Specifies a valid port number
fibrechannel
The logical Fibre Channel interface name, which is mutually exclusive from
the Ethernet parameter. By default, all ports are tested.
rbridge-id
Specifies the RBridge ID. This is not valid in standalone mode.
slot
Specifies a valid slot number.
port
Specifies a valid port number.
npass count
Specifies the number of times to perform this test. Valid values range from
1 through 10. The default value is 1.
slot slot_id
Specifies the slot identifiers for slot-based systems only.
Defaults
All the ports are tested in a switch.
The default number of times to perform the test is 1.
The default action is cycle_all
Command Modes
Privileged EXEC mode (with the chassis disabled in offline mode)
Description
Use this command to exercise the user port LEDs.
Usage Guidelines
This test can be run on a single port or on all ports in the blade (slot-based switches) or the switch
(fixed-configuration switches).
During abnormal termination, the system might be in unusable state. Perform reload to reboot the
chassis or switch to recover.
In slot-based systems, the blade under test undergoes a reset and/or a reinitialization sequence
as part of cleanup.