HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
XPath OS 7.4.x command reference guide 51
Tests the wire-side transmitting and receiving paths between two ports.
Synopsis
crossporttest [-p port_list] [-n frame_count] [-l length] [-s speed]
[-m mac]
Availability
admin
Description
Use this command to test the wire-side connection between two ports. This test generates frames from one
port and sends them through an external fiber to another port.
Each participating port is both a frame producer and a frame consumer. The transmitting and receiving
operations occur in parallel. The transmitter attempts to send frames, independent of the status of the
receiver.
All ports involved in the test must be diagnostics-enabled (using portDiagEnable) prior to running this
test.
Operands
This command has the following optional operands:
Examples
To send out 1024 frames from ports 12 and 13 in Fibre Channel mode:
crossPortTest
-p port_list Specifies a list of source ports. The default value is all ports.
-n frame_count Specifies the number of frames to send to each destination. The default value
is 256.
-l length Specifies the payload length of the test frames. The default value is 1024.
-s speed Specifies Fibre Channel speed mode. The default value is 2 Gb.
0 autonegotiation
1 1 Gb
2 2 Gb
-m mac Specifies the MAC layer to activate. The default is Fibre Channel.
0 Fibre Channel
1 Gigabit Ethernet
switch:admin> crossporttest -p 12-13 -n 1024 -l 2048
crossporttest -p 12-13 -n 1024 -l 2048 -s 2 -m 0
Port Tx fr Tx bytes Rx fr Rx bytes Deli Size In Out RSLT
---- -------- ------------ -------- ------------ ---- ---- ---- ---- ----
000C 00000400 000000207000 00000400 000000207000 0000 0000 0000 0000 PASS
000D 00000400 000000207000 00000400 000000207000 0000 0000 0000 0000 PASS