Reference Guide

Brocade Fabric OS Command Reference 757
53-1004112-02
portCmd
--all-ls
Displays statistics for all configured WAN test sessions from all logical switches.
start
Starts the WAN test session associated with the test ID. This command supports following
option:
-t
Specifies the test time in seconds. Use this option if the test time is not configured with
create or modify options.
stop
Stops the WAN test session associated with the test ID. Use all to stop all WAN test
sessions.
delete
Deletes the WAN test session associated with the test ID. Use all to delete all WAN test
sessions.
--help
Displays command usage.
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.
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