25.10.2014 Views

Brocade® Product Training

Brocade® Product Training

Brocade® Product Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

loopporttest - Examples<br />

44<br />

v3.x sw1:admin> loopporttest 100,8,0xaa55,2<br />

This will execute loopporttest 100 times on port 8 with payload pattern<br />

0xaa55 and pattern width 2 (meaning word width)<br />

v4.x sw1:admin> loopporttest –nframes 100 –ports 1/8<br />

This will execute loopporttest with 100 frames on port 8<br />

© 2005 Brocade Communications Systems, Incorporated.<br />

Revision CFP261-02-2005<br />

Chapter 8 - 44<br />

v3.x+ loopporttest [passcount, port_number, payload_pattern, pattern_width]<br />

passcount The number of frames per port) to execute this test (default is infinite or until enter key is hit)<br />

port_number The port to run to test on - the test will be executed on all online L-ports by default<br />

payload_pattern The pattern of the test packets payload<br />

pattern_width The width of the pattern which user specified – it could be 1, 2, or 4 (which are byte, word, or quad)<br />

v4.x+ loopporttest [-nframes count] [-ports itemlist ] [-seed payload_pattern] [-width<br />

pattern_width]<br />

nframes The number of million frames per port to execute this test (default is 10)<br />

ports Specify a list of user ports to test<br />

seed The pattern of the test packets payload<br />

width The width of the pattern which user specified. It could be 1, 2, and 4 (which are byte, word, and quad)<br />

User could specify a payload pattern to be used when executing this test. If the pattern was not user specified, then at every 30th pass, a<br />

different built-in data type from a palette of 7 is used to generate different data pattern to create the frame. The data pattern will be<br />

generated based on each data type. Some data types may generate different data patterns on every pass; conversely, some data types<br />

may not change data patterns in every pass. These 7 data types will be repeated every 210 passes.<br />

Pattern_width 2 which is word represents 2 bytes, while 4 which is quad represents 4 bytes.<br />

payload_pattern:<br />

The data palette of 7 consists of:<br />

1) CSPAT: 0x7e, 0x7e, 0x7e, 0x7e, ...<br />

2) BYTE_LFSR: 0x69, 0x01, 0x02, 0x05, ...<br />

3) CHALF_SQ: 0x4a, 0x4a, 0x4a, 0x4a, ...<br />

4) QUAD_NOT: 0x00, 0xff, 0x00, 0xff, ...<br />

5) CQTR_SQ: 0x78, 0x78, 0x78, 0x78, ...<br />

6) CRPAT: 0xbc, 0xbc, 0x23, 0x47, ...<br />

7) RANDOM: 0x25, 0x7f, 0x6e, 0x9a, ...<br />

© 2005 Brocade Communications Systems, Incorporated.<br />

Revision CFP261-02-2005<br />

Chapter 8 - 44

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!