Brocade Network OS Command Reference v4.1.0 User Manual

Page 259

Advertising
background image

Network OS Command Reference

221

53-1003115-01

diag portledtest

2

The rbridge-id is an optional parameter. If the rbridge-id is not specified, the test is assigned to the
local RBridge ID.

CAUTION

This is a disruptive command. You must disable the switch and chassis before running the test. In
addition, you must reload or fastboot the switch or chassis after the test has completed running.

Examples

The following commands allow you to run various action modes on the LEDs and validate the
functionality.

In slot-based switches:

switch# diag portledtest action cycle-all slot L1

% Info: This test should be run to completion. Please do not abort while it is

executing.

Running portledtest...

Turning Port Status LEDs OFF...

Turning Port Status LEDs AMBER...

Turning Port Status LEDs GREEN...

Turning Port Status LEDs BLINK GREEN...

Turning Port Status LEDs BLINK AMBER...

portLedTest on slot L1 PASSED

% Info: Resetting the blade. Please wait till it gets initialized...

switch#

In fixed-configuration switches:

switch# diag portledtest

% Info: This test should be run to completion. Please do not abort while it is

executing.

Running portledtest ...

Testing Ethernet ports..

STATUS LED OFF test

STATUS LED GREEN test

STATUS LED AMBER test

STATUS LED BLINK GREEN test

STATUS LED BLINK AMBER test

Testing FC ports..

STATUS LED OFF test

STATUS LED GREEN test

STATUS LED AMBER test

STATUS LED BLINK GREEN test

STATUS LED BLINK AMBER test

PASSED.

See Also

diag portloopbacktest, diag post enable, diag turboramtest

Advertising