Fabric OS FCIP Administrators Guide v6.4.0 (53-1001766-01, November 2010)
Fabric OS FCIP Administrator’s Guide 79
53-1001766-01
WAN performance analysis tools
4
Using ping to test a connection
The portCmd ping command tests the connection between the IP address of a local Ethernet port
and a destination IP address. If you want to use this command to test a VLAN connection when you
do not have an active FCIP tunnel, you must manually add entries to the VLAN tag table on both the
local and remote sides of the route, using portCfg vlantag command.
portCmd
--ping [slot]/ge<n>|xge<n> -s source_ip -d destination_ip [-n num_requests] [-q diffserv]
[-t ttl] [-w wait_time] [-z size] [-v vlan_id] [-c L2_Cos]
Where:
slot The number of a slot in a 48000 director and a Brocade DCX or DCX-4S
enterprise-class platforms that contains an FR4-18i blade. This parameter
does not apply to the stand-alone Brocade 7500 Extension Switch.
ge<n>|xge<n> The Ethernet port used by the tunnel.
-s source_ip The source IP interface that originates the ping request.
-d destination_ip The destination IP address for the ping request.
-n num-requests Generates a specified number of ping requests. The default is 4.
-q diffserv The DiffServ QoS. The default is 0 (zero). The value must be an integer in the
range from 0 through 255 (7500 switch and FR4-18i blade only).
-t ttl The time to live (TTL) for the ping packets. The ttl is decremented every time a
router handles the packet. If TTL reaches zero, the packet is discarded. This
prevents ping packets from circulating forever and potentially flooding the
network. The default value is 100.
-v vlan_id The VLAN ID. Values must be in the range of 1 - 4094. There is no default
value. Note that a VLAN tag entry must exist on the local and remote sides
prior to issuing the -v option. (7500 switch and FR4-18i blade only).
-w wait_time The time to wait for the response of each ping request. This parameter is
specified in milliseconds and the default value is 5000 milliseconds (5 sec).
The maximum allowed wait time for ping is 9000 milliseconds (9 sec).
-z size The size in bytes of the ping packet to use. The total size cannot be greater
than the configured MTU size. The default size is 64 bytes.
-c L2_Cos The Class of Service/Priority, as defined by IEEE 802.1p. Values must be in
the range between 0 and 7. The default is 0. This operand is optional with the
-v option. (7500 switch and FR4-18i blade only).
The following example tests the connection between IP addresses 192.168.10.1 and
192.168.20.1 over VLAN 10 with an layer 2 class of service of 3.
portcmd --ping 8/ge0 -s 192.168.10.1 -d 192.168.20.1 -v 10 -c 3