132 Fabric OS commands
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.
crossPortTest
Summary of Contents for StorageWorks 2/64 - Core Switch
Page 12: ...12 Contents ...
Page 16: ...16 ...
Page 20: ...20 Fabric OS command line interface ...
Page 36: ...36 Fabric OS commands See also aliCreate aliDelete aliRemove aliShow ...
Page 48: ...48 Fabric OS commands See also aliAdd aliCreate aliDelete aliRemove ...
Page 51: ...Fabric OS 5 x command reference guide 51 See also dlsReset dlsSet dlsShow switchDisable ...
Page 80: ...80 Fabric OS commands cfgRemove cfgSave cfgShow ...
Page 82: ...82 Fabric OS commands See also cfgDisable cfgEnable cfgSave ...
Page 96: ...96 Fabric OS commands cfgShow ...
Page 105: ...Fabric OS 5 x command reference guide 105 Examples To display all FRUs for a switch ...
Page 122: ...122 Fabric OS commands See also configDefault configDownload configShow configure ...
Page 150: ...150 Fabric OS commands See also burninLevel setEsdMode setGbicMode setSplbMode ...
Page 171: ...Fabric OS 5 x command reference guide 171 See also errDelimiterSet errFilterSet errShow ...
Page 175: ...Fabric OS 5 x command reference guide 175 ...
Page 191: ...Fabric OS 5 x command reference guide 191 See also fabricLog fabStateClear fabStateShow ...
Page 208: ...208 Fabric OS commands See also faZoneAdd faZoneCreate faZoneDelete faZoneShow ...
Page 217: ...Fabric OS 5 x command reference guide 217 See also fcPing fcpLogDisable fcpLogEnable ...
Page 219: ...Fabric OS 5 x command reference guide 219 See also portLoginShow portLogShow ...
Page 240: ...240 Fabric OS commands See also firmwareDownload firmwareRestore ...
Page 256: ...256 Fabric OS commands See also bcastShow topologyShow uRouteShow ...
Page 266: ...266 Fabric OS commands See also fwClassInit fwConfigReload fwShow ...
Page 298: ...298 Fabric OS commands See also historyLastShow ...
Page 315: ...Fabric OS 5 x command reference guide 315 See also ipAddrShow ...
Page 357: ...Fabric OS 5 x command reference guide 357 See also msTdEnable msTdReadConfig ...
Page 364: ...364 Fabric OS commands See also interfaceShow portShow switchShow ...
Page 373: ...Fabric OS 5 x command reference guide 373 See also nsShow switchShow ...
Page 376: ...376 Fabric OS commands nsShow switchShow ...
Page 394: ...394 Fabric OS commands See also portLogDump saveCore ...
Page 452: ...452 Fabric OS commands See also portCfgShow ...
Page 458: ...458 Fabric OS commands ...
Page 504: ...504 Fabric OS commands portCfgDefault portShow ...
Page 532: ...532 Fabric OS commands slotPowerOff slotPowerOn slotShow ...
Page 536: ...536 Fabric OS commands See also chassisShow fanShow ...
Page 542: ...542 Fabric OS commands See also qloopAdd qloopCreate qloopDelete qloopShow ...
Page 554: ...554 Fabric OS commands See also none ...
Page 565: ...Fabric OS 5 x command reference guide 565 See also secPolicyDump secPolicyShow ...
Page 591: ...Fabric OS 5 x command reference guide 591 secPolicyRemove secPolicySave secStatsShow ...
Page 673: ...Fabric OS 5 x command reference guide 673 supportShow traceDump traceFtp traceTrig ...
Page 715: ...Fabric OS 5 x command reference guide 715 traceFtp traceTrig ...
Page 722: ...722 Fabric OS commands See also agtCfgSet agtCfgShow trackChangesHelp trackChangesShow ...
Page 725: ...Fabric OS 5 x command reference guide 725 See also portCfgTrunkPort switchCfgTrunk trunkShow ...
Page 765: ...Fabric OS 5 x command reference guide 765 See also zoneAdd zoneCreate zoneDelete zoneRemove ...
Page 766: ...766 Fabric OS commands ...
Page 772: ...772 Licensed product commands ...
Page 776: ...776 Exclusive primary FCS commands ...
Page 796: ...796 supportShow reference ...
Page 830: ...830 Index ...