S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
42-7
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 42 Configuring iSCSI
Configuring iSCSI
To enable dynamic mapping of Fibre Channel targets into iSCSI, follow these steps:
Static Mapping
You can manually (statically) create an iSCSI target by assigning a user-defined unique iSCSI node name
to it. The iSCSI qualified name is restricted to a minimum length of 16 characters and a maximum of
223 characters. A statically mapped iSCSI target can either map the whole Fibre Channel target port (all
LUNs in the target port mapped to the iSCSI target), or it can contain one or more LUs from a Fibre
Channel target port (see
Figure 42-6
).
Figure 42-6
Statically Mapped iSCSI Targets
Advertising Static iSCSI Targets
You can limit the Gigabit Ethernet interfaces through which static iSCSI targets are advertised. By
default iSCSI targets are advertised on all Gigabit Ethernet interfaces, subinterfaces, PortChannel
interfaces, and PortChannel subinterfaces.
To configure a specific interface that should advertise the iSCSI virtual target, follow these steps:
Command
Purpose
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
iscsi import target fc
IPS modules and MPS-14/2 modules dynamically
import all Fibre Channel targets in the Fibre Channel
SAN into the IP network.
iSCSI
iSCSI
host B
MDS
120875
IP
Network
iSCSI Virtual target
iqn.iscsi-target-abc
Target pwwn
31:00:11:22:33:44:55:66
LUN 0
LUN 1
LUN 2
LUN 0
LUN 1
LUN 2
Command
Purpose
Step 1
switch(config-iscsi-tgt)#
advertise
interface GigabitEthernet 2/5
Advertises the virtual target only on the specified
interface. By default, it is advertised on all interfaces in
all IPS modules or MPS-14/2 modules.
Note
To advertise the virtual target on multiple
interfaces, issue the command for each
interface.
switch(config-iscsi-tgt)#
no
advertise
interface GigabitEthernet 2/5
Removes this interface from the list of interfaces from
which this target is advertised.