HP 1606 Fabric OS FCIP Administrators Guide v6.4.0 (53-1001766-01, November 20 - Page 93

Using ping to test a connection

Page 93 highlights

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|xge -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|xge 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 Fabric OS FCIP Administrator's Guide 79 53-1001766-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

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_request
s] [
-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