Reference Guide

Brocade Fabric OS Command Reference 909
53-1004112-02
portTest
portTest
Performs a functional test of a switch in a live fabric.
Synopsis porttest
[-ports itemlist]
[-iteration count]
[-userdelay time]
[-timeout time]
[-pattern pattern]
[-patsize size]
[-seed seed]
[-listtype porttype]
Description Use this command to isolate problems in a single replaceable element and to trace problems to near-end terminal
equipment, far-end terminal equipment, or the transmission line. You can perform this test on a daily basis or as
needed to verify the persistence of failures detected earlier.
This command verifies the functional operation of the switch by sending frames from a port's transmitter, and
looping the frames back through an external fiber cable into the port's receiver. The test exercises all switch
components from the main board, to the fibre cable, to the media (of the devices and the switch), and back to the
main board.
The cables and media connected should be of the same type: a short-wavelength media (switch) port should be
connected to another short-wavelength media (device) port using a short-wavelength cable; a long-wavelength
port should be connected to a long-wavelength port, and a copper port should be connected to a copper port.
Only one frame is transmitted and received at any given time. The port LEDs flicker green while the test is running.