Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 483
53-1000436-01
portCmd
2
Examples To verify if packets can be sent to the destination IP address:
switch:admin> portcmd --ping 3/ge0 -s 193.10.2.1 -d 193.10.2.49
Pinging 193.10.2.49 from ip interface 193.10.2.1 on 3/ge0 with 64 bytes of
data
Reply from 193.10.2.49: bytes=64 rtt=0ms ttl=64
Reply from 193.10.2.49: bytes=64 rtt=0ms ttl=64
Reply from 193.10.2.49: bytes=64 rtt=0ms ttl=64
Reply from 193.10.2.49: bytes=64 rtt=0ms ttl=64
Ping Statistics for 193.10.2.49:
Packets: Sent = 4, Received = 4, Loss = 0 (0 percent loss)
NOTE
You must use --ping action; otherwise, if you use ping without the double-dash (--), a message
displays indicating that ping is deprecated.
To set the path characteristic to source mode on the remote host:
switch:admin> portcmd --ipperf 4/ge0 -s 192.168.100.50 -d 192.168.100.0 -S
ipperf to 192.168.100.40 from IP interface 192.168.100.50 on 4/0:3227
30s: BW:115.67MBps WBW(30s): 56.70MBps Loss(%):0.0 Delay(ms):2 PMTU:1500
NOTE
You must use -- --ipperf; otherwise, if you use ipperf without the double-dash (--), a message
displays indicating that ipperf is deprecated.
See Also portCfg, portShow,