Command Reference Guide

730 Fabric OS Command Reference
53-1002746-01
portCmd
2
To verify if packets can be sent to the destination IP address using VLAN tagging with the -c option.
switch:admin> portcmd --ping 8/ge0 \
-s 192.168.10.1 -d 192.168.20.1 -v 10 -c 3
To trace the IP router hops used to reach the remote host using VLAN tagging with the -c option.
switch:admin> portcmd --traceroute 8/ge0 \
-s 192.168.10.1 -d 192.168.20.1 -v 10
To ping a failover crossport:
switch:admin> portcmd --ping 8/xge0 \
192.168.11.20 -d 1.1.1.1 -x
To trace the route to a failover crossport:
switch:admin> portcmd --traceroute 8/xge0 \
192.168.11.20 -d 1.1.1.1 -x
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
***************************************************************