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

The Layer 2 class of service L2CoS., Brocade 7500 Extension Switch.

Page 74 highlights

3 Creating IP interfaces and routes 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 a 48000 and Brocade DCX or DCX-4S platforms that contains an FC4-18i blade. This parameter does not apply to the stand-alone Brocade 7500 Extension Switch. 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. 60 Fabric OS FCIP Administrator's Guide 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

60
Fabric OS FCIP Administrator’s Guide
53-1001766-01
Creating IP interfaces and routes
3
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 a 48000 and Brocade DCX or DCX-4S platforms that
contains an FC4-18i blade. This parameter does not apply to the stand-alone
Brocade 7500 Extension Switch.
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.