Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

708 Fabric OS Command Reference
53-1001764-01
portCmd
22
To set the path characteristic to source mode on the remote host using VLAN tagging with the -c option.
switch:admin> portcmd --ipperf 8/ge0 \
-s 192.168.10.1 -d 192.168.20.1 -S -v 10 -c 3
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
****************************************************************