beautypg.com

Dell POWEREDGE M1000E User Manual

Page 759

background image

Fabric OS Command Reference

731

53-1002746-01

portCmd

2

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
High Priority Medium Priority Low Priority
bytes tx 0 0 19800708
bytes rx 0 0 0
PDUs tx 0 0 1434686
PDUs rx 0 0 0
out of seq PDUs rx 0 0 0
flow control count 0 0 0
last rtt N/A N/A N/A
*****************************************************************

To specify test data patterns for the source payload:

switch:admin> portcmd --tperf 16 -source -pattern random
switch:admin> portcmd --tperf 16 -source -pattern 4

switch:admin> portcmd --tperf 16 -source -pattern jitter
switch:admin> portcmd --tperf 16 -source -pattern 5

SEE ALSO

portCfg

,

portShow