Configuring iSCSI
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 .
To configure static mapping (using the name option) for an iSCSI initiator, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# iscsi initiator name
iqn.1987-02.com.cisco.initiator
switch(config-iscsi-init)#
switch(config)# no iscsi initiator
name iqn.1987-02.com.cisco.initiator
To configure static mapping (using the ip-address option) for an iSCSI initiator, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# iscsi initiator
ip-address 10.50.0.0
switch(config-iscsi-init)#
switch(config)# no iscsi initiator
ip-address 10.50.0.0
To assign the WWN for an iSCSI initiator, follow these steps:
Command
Step 1
switch(config-iscsi-init)# static nWWN
system-assign
switch(config-iscsi-init)# static nWWN
20:00:00:05:30:00:59:11
Step 2
switch(config-iscsi-init)# static pWWN
system-assign 2
switch(config-iscsi-init)# static pWWN
21:00:00:20:37:73:3b:20
If the system-assign option is used to configure WWNs for an iSCSI initiator, when the configuration is
Note
saved to an ASCII file the system-assigned WWNs are also saved. Subsequently if you perform a write
erase, you must manually delete the WWN configuration from the ASCII file. Failing to do so can cause
duplicate WWN assignments if the ASCII configuration file is reapplied on the switch.
Making the Dynamic Initiator WWN Mapping Static
After a dynamic initiator has already logged in, you may decide to permanently keep the automatically
assigned nWWN/pWWN mapping so this initiator uses the same mapping the next time it logs in.
Cisco MDS 9000 Family Configuration Guide
35-14
Purpose
Enters configuration mode.
Configures an iSCSI initiator using the iSCSI name of
the initiator node. The maximum name length is
restricted to 223 alphanumeric characters. The
minimum length is 16.
Deletes the configured iSCSI initiator.
Purpose
Enters configuration mode.
Configures an iSCSI initiator using the IP address of the
initiator node.
Deletes the configured iSCSI initiator.
Purpose
Uses the switch's WWN pool to allocate the nWWN for
this iSCSI initiator and keeps it persistent.
Assigns the user provided WWN as nWWN for the
iSCSI initiator. You can only specify one nWWN for
each iSCSI node.
Uses the switch's WWN pool to allocate two pWWNs
for this iSCSI initiator and keeps it persistent. The range
is from 1 to 64.
Assigns the user provided WWN as pWWN for the
iSCSI initiator.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Chapter 35
Configuring iSCSI