HP Cisco MDS 9020 - Fabric Switch Configuration Manual page 1023

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 42
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 permanently keep the automatically assigned nWWN/pWWN mapping, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2s
switch(config)# iscsi save-initiator
name iqn.1987-02.com.cisco.initiator
switch(config)# iscsi save-initiator
ip-address 10.10.100.11
switch(config)# iscsi save-initiator
ip-address 2001:0DB8:800:200C::417A
switch(config)# iscsi save-initiator
Step 3
switch(config)# exit
switch#
Step 4
switch# copy running-config
startup-config
Checking for WWN Conflicts
WWNs assigned to static iSCSI initiators by the system can be inadvertently returned to the system when
an upgrade fails or you downgrade the system software (manually booting up an older Cisco MDS
SAN-OS release without using the install all command). In these instances, the system can later assign
those WWNs to other iSCSI initiators (dynamic or static) and cause conflicts.
You can address this problem by checking for and removing any configured WWNs that belong to the
system whenever such scenarios occur.
To check for and remove WWN conflicts, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 1
switch(config)# iscsi duplicate-wwn-check
List of Potential WWN Conflicts:
--------------------------------
Node : iqn.test-local-nwwn:1-local-pwwn:1
nWWN : 22:03:00:0d:ec:02:cb:02
pWWN : 22:04:00:0d:ec:02:cb:02
Step 2s
switch(config)# iscsi initiator name
iqn.test-local-nwwn:1-local-pwwn:1
Step 3
switch(config-iscsi-init)# no static nWWN
22:03:00:0d:ec:02:cb:02
Step 4
switch(config-iscsi-init)# no static pWWN
22:04:00:0d:ec:02:cb:02
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Purpose
Enters configuration mode.
Saves the nWWN and pWWNs that have automatically
been assigned to the iSCSI initiator whose name is
specified.
Saves the nWWN and pWWNs that have automatically
been assigned to the iSCSI initiator whose IPv4
address is specified.
Saves the nWWN and pWWNs that have automatically
been assigned to the iSCSI initiator whose IPv6 unicast
address is specified.
Saves the nWWN and pWWNs that have automatically
been assigned to all the initiators.
Returns to EXEC mode.
Saves the nWWN/pWWN mapping configuration
across system reboots.
Purpose
Enters configuration mode.
Checks for WWN conflicts.
Enters iSCSI initiator configuration mode for the
initiator named iqn.test-local-nwwn:1-local-pwwn:1.
Removes a conflicting nWWN.
Removes a conflicting pWWN.
Cisco MDS 9000 Family CLI Configuration Guide
Configuring iSCSI
42-15

Advertisement

Table of Contents
loading

Table of Contents