Fabric OS FCIP Administrator’s Guide 73
53-1001766-01
WAN performance analysis tools
4
-time Specifies the duration of the Tperf traffic flow in seconds.
If a duration is not specified, the process continues to run until it is
terminated with Ctrl + C.
-unidirectional Generates traffic in one direction only. The default is round-trip.
-random Specifies a random protocol data unit (PDU) size between 1 and the size of
the send request, as set by -size.
-crc Specifies cyclic redundancy check (CRC) to be performed on the payload.
-pattern <data pattern>
Specifies the test data pattern for the payload as one of the following values:
0 - No pattern is specified. Tperf applies whatever is already set or in memory.
This is the default value.
1 - All zeros
2 - All ones
3 - Incrementing byte
4 - Random
5 - Jitter
-size <pdu_size> Specifies the PDU size to use (not including headers). This is also sets the
maximum size if the -random option is specified.The valid range is 4 to
10112. The default is 10112, which is equivalent to the maximum segment
size (MSS).
-interval <seconds>
Specifies the interval at which the statistics display is refreshed, in seconds.
The default is 30 seconds.
The following example creates a Tperf data sink and a Tperf data source on VE_port 16.
switch:admin> portcmd --tperf 16 -sink -interval 15
TPerf has been configured successfully for 16
TPerf is servicing requests on 16 priority: high
TPerf is servicing requests on 16 priority: medium
TPerf is servicing requests on 16 priority: low
Tperf data source can now be started
**********************************************************************
Tunnel ID: 16
High Priority Medium Priority Low Priority
bytes tx 1898680 1579600 1233240
bytes rx 481884984 400902480 312996312
PDUs tx 47467 39490 30831
PDUs rx 47467 39490 30831
bad CRC headers rx 0 0 0
bad CRC payloads rx 0 0 0
out of seq PDUs rx 0 0 0
flow control count 0 0 0
packet loss (%) 100.0000 100.0000 100.0000
bytes/second 32319450 26806951 20869073
last rtt N/A N/A N/A