HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 477
The following example shows two routes being added to an interface:
switch:admin06> portcfg iproute 8/ge0 create 192.168.11.0 255.255.255.0
192.168.100.1 1
switch:admin06> portcfg iproute 8/ge0 create 192.168.12.0 255.255.255.0
192.168.100.1 1
The following example verifies that the two routes have been successfully created:
switch:admin06> portshow iproute 8/ge0
Slot: 8 Port: ge0
IP Address Mask Gateway Metric Flags
------------------------------------------------------------------
192.168.100.0 255.255.255.0 192.168.100.40 0 Interface
192.168.100.0 255.255.255.0 192.168.100.41 0 Interface
192.168.11.0 255.255.255.0 192.168.100.1 1
192.168.12.0 255.255.255.0 192.168.100.1 1
3. If you are implementing VLAN tagging, create a static ARP entry for the IP interfaces on both ends of
the tunnel, using the portCfg arp command with the add option. The command syntax is as follows.
portCfg arp [slot/]ge0|ge1 add ipaddr macaddr
You can obtain the MAC address (macaddr) by using the portShow arp command with the -lmac
option.
4. Verify IP connectivity by entering the portCmd
--ping command to test the connection to a
destination IP address from a source IP address on one of the local Ethernet ports (Ge0 or Ge1). This
verification also ensures that data packets can be sent to the remote interface. You can test a
connection only if both ports have IP interfaces set. The command syntax is as follows.
portCmd --ping [slot/]ge0|ge1 [-s source_ip] [-d dest_ip] [-c L2
class-of-service]
[-n num-requests] [-q type-of-service] [-t ttl] [-v vlan tag] [-w wait-time] [-z
size]
where:
slot The number of a slot in an HP StorageWorks 4/256 SAN Director and HP StorageWorks DC
SAN Backbone Director or HP StorageWorks DC04 SAN Director Switch platforms that
contains an FR4-18i blade. This parameter does not apply to the stand-alone HP StorageWorks
400 Multi-Protocol Router.
ge0|ge1 The Ethernet port used by the tunnel (ge0 or ge1)
-s source_ip
The source IP interface that originates the ping request.
-d destination_ip
The destination IP address for the ping request.
-c class-of-service
The Layer 2 class of service (L2CoS).
-n num-requests
The number of ping requests to make. The default is 4.
-q type-of-service
The DiffServ QoS. The default is 0 (zero). The value must be an integer in the range from 0
through 255.
-t ttl The time to live. The default value is 100.
-v vlan tag The vlan tag for a VLAN tagged IP connection.
-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 29000 milliseconds (29 sec).