Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

356 Fabric OS Command Reference Manual
53-1000436-01
miniCycle
2
miniCycle
Runs a functional test of internal and external transmit and receive paths at full speed.
Synopsis minicycle [--slot slotnumber][-nmegs count][-lb_mode mode][-spd_mode mode][-ports itemlist]
Description Use this command to verify the intended functional operation of an ASIC pair (miniswitch) at the
maximum or selected speed by setting up the routing hardware so that frames received by port M
are retransmitted by way of port N. Likewise, frames received by port N are retransmitted by way of
port M. Each port M sends two frames to its partner, port N.
This test is run as a series of eight path tests. Each port on the ASIC pair is exchanging frames with
one port on the adjacent ASIC in the same miniswitch. At the end of a path test, the frames are
captured and the routing is changed so that each port exchanges frames with the next port on the
adjacent ASIC of the same miniswitch.
Unlike implementation of the spinSilk command, a port is only exchanging frames with one other
port at a time under the miniCycle command. Just as with spinSilk, all ports are active and
exchanging frames simultaneously with miniCycle.
The path number being tested determines the partner port N for each port M (bold and italicized in
the following example):
path 0: 0-8, 1-9, 2-10, 3-11, 4-12, 5-13, 6-14, 7-15
path 1: 7-8, 0-9, 1-10, 2-11, 3-12, 4-13, 5-14, 6-15
path 2: 6-8, 7-9, 0-10, 1-11, 2-12, 3-13, 4-14, 5-15
path 3: 5-8, 6-9, 7-10, 0-11, 1-12, 2-13, 3-14, 4-15
path 4: 4-8, 5-9, 6-10, 7-11, 0-12, 1-13, 2-14, 3-15
path 5: 3-8, 4-9, 5-10, 6-11, 7-12, 0-13, 1-14, 2-15
path 6: 2-8, 3-9, 4-10, 5-11, 6-12, 7-13, 0-14, 1-15
path 7: 1-8, 2-9, 3-10, 4-11, 5-12, 6-13, 7-14, 0-15
The port numbers are relative to the ASIC pair. This test does not route frames from one ASIC-pair
to another.
Ports cabled to other ports fail if port loopback mode is selected, and the port must have media
and loopback plugs installed. For best coverage, you should use self-loopback plugs and port
loopback mode (-lb_mode 1), as each port's external connectivity will be tested.
The frames are continuously transmitted and received in all ports in parallel. The port LEDs flicker
green rapidly while the test runs.
The path test method is as follows:
Clear port statistics and error counters.
Enable ports for specified self-loopback mode.
Configure up the routing table so that when port M receives frames, the frames are routed back to
the partner port N and vice versa.
Transmit two frames by way of port M and two frames by way of port N. The following four patterns
will be used for the four frames, one pattern each:
1000 bytes of CSPAT
480 bytes of RDRAM_PAT
2112 bytes of BYTE_LFSR