Reference (Supporting Fabric OS v7.3.0) Owner manual

Table Of Contents
Fabric OS Command Reference 815
53-1003131-01
portCmd
2
To create a TPerf data sink on VE_Port 16:
switch:admin> portcmd --tperf 16 -sink
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
To configure a Brocade FX8-24 blade as a TPerf data source (this example generates round-trip high,
medium, and low priority traffic with a fixed PDU size of 2084 bytes. The payload pattern is a jitter pattern
and the checksum is checked by the sink):
switch:admin> portcmd --tperf 16 -source \
-size 2048 -pattern 5
TPerf has been configured successfully for 16
TPerf is generating traffic on 16 priority: medium
***************************************************************
Tunnel ID: 16
High Priority Medium Priority Low Priority
bytes tx 0 5280520 0
bytes rx 0 407240 0
PDUs tx 0 10183 0
PDUs rx 0 10182 0
out of seq PDUs rx 0 0 0
flow control count 0 0 0
last rtt 0 5 0
***************************************************************
To configure a TPerf source so it generates round-trip high and low priority traffic with a random PDU size
from 2048 to 10112 bytes (1 MSS) and with a payload pattern determined by previous settings saved in
memory:
switch: admin> portcmd --tperf 16 -source -high -low -random
TPerf has been configured successfully for 16
TPerf is generating traffic on 16 priority: high
TPerf is generating traffic on 16 priority: low
***************************************************************
Tunnel ID: 16
High Priority Medium Priority Low Priority
bytes tx 19800708 0 19168848
bytes rx 187200 0 183640
PDUs tx 4686 0 4598
PDUs rx 4685 0 4597
out of seq PDUs rx 0 0 0
flow control count 0 0 0
last rtt 5 0 5
****************************************************************
To configure a TPerf source to generate one-way low priority traffic with a random PDU size from 2048 to
4000 bytes and a payload pattern of ones.
switch:admin> portcmd --tperf 16 -source -low \
-size 4000 -random -unidirectional -pattern 2
TPerf has been configured successfully for 16
TPerf is generating traffic on 16 priority: low
****************************************************************
Tunnel ID: 16