Troubleshooting and Diagnostics Guide

102 Fabric OS Troubleshooting and Diagnostics Guide
53-1002751-01
Diagnostic Port (D_Port)
10
The default value is 1 for 1 million frames.
-framesize - Specifies the size of test frames that are generated to run the test.
The Range is minimum 36 bytes and maximum 2112 bytes
The size of the frames should be given in multiples of 4 otherwise
the nearest higher multiple of 4 value will be taken as frame size.
Default value is taken as 1024 bytes
-time - Specified in HH:MM format. Either this option or the
nframes can be provided.
-pattern - The name of the predefined pattern used for
frame traffic test. The valid patterns are
BYTE_NOT, QUAD_NOT, WORD_NOT, BYTE_RAMP
QUAD_RAMP, WORD_RAMP, BYTE_LFSR, RANDOM,
CRPAT, CSPAT, CHALF_SQ, CQTR_SQ,
RDRAM_PAT, jCRPAT, jCJTPAT, jCSPAT,
PRED_RAND,SMI_TEST, CJPAT, QUAD_NOTP,
JSPAT, JTSPAT
Please use datatypeshow to get the frame patterns
-payload - The user defined payload pattern in integer. Either
this or the pattern option can be provided
-fec - This option is used to enable forward error correction during dport
tests
-cr - This option is used to enable credit recovery during dport tests
--show -- This will display the previous test results, if the tests have completed for
the <port/portrange>.
Otherwise, it will display test in progress
--show all -- This will provide brief summary of all D-Ports on the switch
--restart -- This will restart the test with the already configured parameters
--stop -- This will stop the test cases and exit without waiting for the test to
complete
--help -- Displays usage information
Example
The following example shows the results from the responder. Query the switch on the far side to
see the status of the initiator.
switch:admin> portdporttest --show 26
D-Port Information:
===================
Port: 26
Remote WWNN: 10:00:00:05:33:13:2f:b5
Remote port: 42
Mode: Automatic
Start time: Wed Feb 2 01:41:43 2011
End time: Wed Feb 2 01:43:23 2011
Status: RESPONDER
================================================================================
Test Start time Result EST(secs) Comments
================================================================================
Electrical loopback 01:42:08 PASS -- ----------
Optical loopback 01:42:16 RESPONDER -- See remote
port results
Link traffic test 01:43:15 RESPONDER -- See remote
port results
================================================================================
Roundtrip link latency: 1108 nano-seconds
Estimated cable distance: 20 meters