Crossporttest - HP StorageWorks 2/64 - Core Switch Command Reference Manual

Hp storageworks fabric os 5.x command reference guide (aa-rvhvb-te, september 2005)
Hide thumbs Also See for StorageWorks 2/64 - Core Switch:
Table of Contents

Advertisement

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]
Availability
admin
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.
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.
132 Fabric OS commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks fabric os 5

Table of Contents