Brocade Fabric OS Command Reference v7.1.0 (53-1002746-01, March 2013)

Fabric OS Command Reference 729
53-1002746-01
portCmd
2
-pattern pattern
Specifies the test data pattern for the payload as one of the following values:
0 | notspecified
No pattern is specified. TPerf applies whatever is already set or in memory. This is
the default value.
1 | allzeros
The specified pattern is "all zeros".
2 | allones
The specified pattern is "all ones".
3 | incrementingbyte
The specified pattern is "incrementing byte".
4 | random
The specified pattern is "random".
5 | jitter
The specified pattern is "jitter".
-size pdu_size
Specifies the PDU size to use (not including headers). The valid range is between
2048 and 10112 bytes. The default is equivalent to the maximum segment size
(MSS). This is the maximum size if the -random option is specified.
-interval interval
Specifies the interval at which the statistics display is refreshed, in seconds. The
default is 30 seconds.
EXAMPLES To verify if packets can be sent to the destination IP address with maximum wait_time specified:
switch:admin> portcmd --ping 12/ge0 \
-s 2007:7:30:32:227:138:10:120 \
-d 2007:7:30:32:227:77:0:60 -w 29000
Pinging 2007:7:30:32:227:77:0:60 from ip interface \
2007:7:30:32:227:138:10:120 on 12/ge0 with 64
bytes of data
Reply from 2007:7:30:32:227:77:0:60: bytes=64 rtt=0ms ttl=255
Reply from 2007:7:30:32:227:77:0:60: bytes=64 rtt=1ms ttl=255
Reply from 2007:7:30:32:227:77:0:60: bytes=64 rtt=0ms ttl=255
Reply from 2007:7:30:32:227:77:0:60: bytes=64 rtt=0ms ttl=255
Ping Statistics for 2007:7:30:32:227:77:0:60:
Packets: Sent = 4, Received = 4, Loss = 0 ( 0 percent loss)
Min RTT = 0ms, Max RTT = 1ms Average = 0ms
To trace the IP router hops used to reach the remote (with packet size specified):
switch:admin> portcmd --traceroute 12/ge0 \
-s 2007:7:30:32:227:138:10:120 \
-d 2007:7:30:32:227:77:0:60 -z 1452
Traceroute to 2007:7:30:32:227:77:0:60 from IP interface
2007:7:30:32:227:138:10:120 on 12/0, 30
hops max
1 1 ms 0 ms 0 ms
Traceroute complete.