HP StorageWorks 4/64 Brocade Fabric OS Command Reference Manual (53-1000240-01 - Page 139
crossPortTest, FrmTooLong, BadEOF, Enc_out, BadOrdSet, or DiscC3.
View all HP StorageWorks 4/64 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 139 highlights
Note: Enter commands in lowercase only; mixed case is for readability. crossPortTest 2 crossPortTest Tests functional operation of port external transmit and receive path. Synopsis crossporttest [-nframes count][-lb_mode mode][-spd_mode mode][-norestore mode][-ports itemlist] Description This command verifies the intended functional operation of the switch by sending frames from port M's transmitter and looping them back through an external fiber cable into port N's receiver, thus exercising all the switch components, from the main board, to the media, to the fiber cable, to the media, and back to the main board. With -lb_mode set to 1, it is also possible to test ports with loopback plugs that connect each port back to itself. The cables can be connected to any port combination with the one condition; the cables and media connected must be of the same technology. This means a short wave-length media port must be connected to another short wave-length media port, using a short wave-length cable, a long wave-length port must be connected to a long wave-length port, and a copper port must be connected to a copper port. For best coverage, connected ports should be from different ASICs. For example, Ports 0 through 3 belong to ASIC 0, ports 4 through 7 belong to ASIC 1, and so forth. A connection from port 0 to port 15 exercises the transmit path between ASICs. A connection from port 0 to port 3 tests only the internal transmit path in ASIC 0. Only one frame is transmitted and received at any one time. The port LEDs flicker green while the test is running. Note The command is supported only on SilkWorm 200E,3250, 3850, 3900,4100, 24000, and 48000 platforms; use portLoopbackTest or miniCycle instead. The test method is as follows: 1. Determine which ports are connected to each other. 2. Enable ports for cabled loopback mode. 3. Create a Frame F of maximum data size (2112 bytes). 4. Transmit Frame F through Port M. 5. Pick up the frame from its cross-connected Port N. An error is reported if any port other than N actually received the frame. 6. Check if any of the eight statistic error counters are nonzero: ENC_in, CRC_err, TruncFrm, FrmTooLong, BadEOF, Enc_out, BadOrdSet, or DiscC3. 7. Check if the transmit, receive, or Class 3 receiver counters are stuck at some value. 8. Check if the number of frames transmitted is not equal to the number of frames received. 9. Repeat steps 3 through 8 for all ports present until the number of frames requested is reached or all ports are marked bad. Fabric OS Command Reference Manual Publication Number: 53-1000240-01 2-105