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]
Availability
admin
Description
Use this command to isolate problems to a single replaceable element and isolate problems to near-end
terminal equipment, far-end terminal equipment, or the transmission line. Diagnostics can be executed
every day or on demand.
This command verifies the intended functional operation of the switch by sending frames from port M's
transmitter, and looping the frames back through an external fiber cable into port M's receiver, thus
exercising all the switch components from the main board, to the fiber 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 technology: a short-wavelength media (switch)
port is connected to another short-wavelength media (device) port using a short-wavelength cable; a
long-wavelength port is connected to a long-wavelength port, and a copper port is connected to a copper
port.
Only one frame is transmitted and received at a time. The port LEDs flicker green while the test is running.
The following port types are supported:
•
E_Ports
•
F_Ports (must support ELS ECHO)
L_Ports
•
•
N->N loopback ports
This command will not run on any other port type.
The command performs the following actions:
1.
Initiate tests on certain ports
2.
Stop active tests on certain ports
3.
Get the snapshot of the test result
Once
portTest
command for more information.
View the current progress of
for more information.
If there is a port type change during
as it can be supported and it is asked to do so. If a request was made to test all possible ports on a given
switch,
portTest
526 Fabric OS commands
(portTest
(stopPortTest
(portTestShow
is triggered, you can use
by running portTestShow. See the
portTest
portTest
will start a new test using the new port type to start a appropriate test.
command).
command).
command).
to stop the test. See the
stopPortTest
execution, the test will continue on a given port as long
stopPortTest
command
portTestShow