Brocade iSCSI Gateway Service Administrator's Guide - Supporting Fabric OS v5.3.0 (53-1000440-01, June 2007)

iSCSI Gateway Service Administrator’s Guide 13
Publication Number: 53-1000440-01
Configuring the GbE interface
2
ASSIGNING AN IP ADDRESS
Assign the IP address to the GbE port (iSCSI interface) using the portCfg command.
NOTE
The GbE port number <port_number> below is entered geX; where X is from 0 through 7.
For example ge1 (see Figure 8 on page 10).
To assign the IP address and subnet mask
1. Connect and log in to the switch.
2. Enter the portCfg command as follows to assign an IP address, subnet mask, and maximum
packet size of the interface:
switch:admin> portcfg ipif 3/ge0 create 30.0.127.30 255.255.0.0 1500
3. Enter the portShow command to verify the settings:
switch:admin> portshow ipif 3/ge0
Slot: 3 Port: ge0
Interface IP Address NetMask MTU
----------------------------------------------------------
0 30.0.127.30 255.255.0.0 1500
ADDING STATIC IP ROUTES (OPTIONAL)
Define static routes to reach the destination IP through a preferred gateway. The gateway must be
on the same subnet as the GbE port. You can specify a maximum of 32 routes per GbE port.
NOTE
The GbE port number <port_number> below is entered geX; where X is from 0 through 7.
For example ge1 (see Figure 8 on page 10).
To add a static route
1. Connect and log in to the switch.
2. Enter the portCfg command as follows:
switch:admin> portcfg iproute 3/ge0 create 0.0.0.0 0.0.0.0 30.0.0.1 1
Operation Succeeded
3. Verify the route as follows:
switch:admin> portshow iproute 3/ge0
Slot: 3 Port: ge0
IP Address Mask Gateway Metric Flags
------------------------------------------------------------------
0.0.0.0 0.0.0.0 30.0.0.1 1
30.0.0.0 255.255.0.0 30.0.127.30 0 Interface