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-70
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 42 Configuring iSCSI
iSCSI Authentication Setup Guidelines and Scenarios
Step 4
Configure the iSCSI interface in slot 7 port 1 to identify all dynamic iSCSI initiators by their IP address,
and enable the interface.
switch(config)#
interface iscsi 7/1
switch(config-if)#
switchport initiator id ip-address
switch(config-if)#
no shut
Step 5
Configure the Gigabit Ethernet interface in slot 7 port 5 with the IPv4 address and enable the interface.
switch(config)#
interface gigabitethernet 7/5
switch(config-if)#
ip address 10.15.1.1 255.255.255.0
switch(config-if)#
no shutdown
Step 6
Configure the iSCSI interface in slot 7 port 5 to identify all dynamic iSCSI initiators by node name and
enable the interface.
switch(config)#
interface iscsi 7/5
switch(config-if)#
switchport initiator id name
switch(config-if)#
no shutdown
Note
Host 1 is connected to this port.
Step 7
Verify the available Fibre Channel targets (see
Figure 42-21
).
switch#
show fcns database
VSAN 1:
--------------------------------------------------------------------------
FCID TYPE PWWN (VENDOR) FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x6d0001 NL 21:00:00:20:37:6f:fd:97 (Seagate) scsi-fcp:target
0x6d0101 NL 21:00:00:20:37:6f:fe:54 (Seagate) scsi-fcp:target
0x6d0201 NL 21:00:00:20:37:a6:a6:5d (Seagate) scsi-fcp:target
Total number of entries = 3
Step 8
Create a zone named
iscsi-zone-1
with host 1 and one Fibre Channel target in it.
Note
Use the IP address of the host in zone membership configuration because the iSCSI interface is
configured to identify all hosts based on IP address.
switch(config)#
zone name iscsi-zone-1 vsan 1
switch(config-zone)#
member pwwn 21:00:00:20:37:6f:fd:97
switch(config-zone)#
member ip-address 10.11.1.10
Step 9
Create a zone named
iscsi-zone-2
with host 2 and two Fibre Channel targets in it.
Note
Use the symbolic node name of the iSCSI host in zone membership configuration because the
iSCSI interface is configured to identify all hosts based on node name.
switch(config)#
zone name iscsi-zone-2 vsan 1
switch(config-zone)#
member pwwn 21:00:00:20:37:6f:fe:54
switch(config-zone)#
member pwwn 21:00:00:20:37:a6:a6:5d
switch(config-zone)#
member symbolic-nodename iqn.1987-05.com.cisco:01.25589167f74c
Step 10
Create a zone set and add the two zones as members.
switch(config)#
zoneset name zoneset-iscsi vsan 1
switch(config-zoneset)#
member iscsi-zone-1
switch(config-zoneset)#
member iscsi-zone-2