<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="GENERATOR" content="Quadralay WebWorks AutoMap 2003 Platinum Edition Client for FrameMaker 8.6.6597.0" />
    <meta name="TEMPLATEBASE" content="emwebh8-1-17" />
    <meta name="LASTUPDATED" content="08/01/13 14:48:06" />
    <title>iSCSI Transparent Mode Initiator Example </title>
    <!-- Copyright 2010-2013, Cisco Systems, Inc. All rights reserved. -->

    <link rel="StyleSheet" href="document.css" type="text/css" />
    <link rel="StyleSheet" href="catalog.css" type="text/css" />


<script> 
    var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; 
   
    if(is_chrome){document.domain=document.domain}
   </script>
    <script type="text/javascript" language="JavaScript1.2" src="expand.js"></script>
    <script type="text/javascript" language="JavaScript1.2" src="page.js"></script>

    <script type="text/javascript" language="JavaScript1.2">
     <!--
      function  WWNoOp() {}
      function  WWNoValue() { return ""; }

      var  VarDropDown;

      if (typeof(HTMLHelp_Object) != "undefined")
      {
        VarDropDown = new WWDropDown_Object();
      }
      else
      {
        VarDropDown = new Object();
        VarDropDown.fAnchorOpen  = WWNoOp;
        VarDropDown.fAnchorClose = WWNoOp;
        VarDropDown.fDIVOpen  = WWNoOp;
        VarDropDown.fDIVClose = WWNoOp;
      }
     // -->
    </script>

  
<SCRIPT language="javascript">
<!--
  self.document.write("<link href='"+top.relPath+"shared/style.css' rel='stylesheet' type='text/css'>");
  myid=2015;
  self.document.write("<script type='text/javascript' language='JavaScript' src='"+top.relPath+"shared/con_utils.js'></scr"+"ipt>");
//-->
</SCRIPT>
</head>

  <body onload="highlightSearchTerms();" bgcolor="#ffffff">

    
    <blockquote>
    <a name="top"></a>

    
    


<a name="wp1199379"> </a><h1 class="pTitle">
iSCSI Transparent Mode Initiator Example

</h1>
<a name="wp1199383"> </a><p class="pBody">
This examples assumes the following configuration:

</p>
<div class="pSmartList1"><ul class="pSmartList1">
<a name="wp1199386"> </a><li class="pSmartList1">No LUN mapping or LUN masking or any other access control for hosts on the target device
</li>
<a name="wp1199387"> </a><li class="pSmartList1">No iSCSI login authentication (that is, login authentication set to none)
</li>
<a name="wp1199388"> </a><li class="pSmartList1">The topology is as follows:
</li>
<div class="pSmartList2"><ul class="pSmartList2">
<a name="wp1199389"> </a><li class="pSmartList2">iSCSI interface 7/1 is configured to identify initiators by IP address.</li>
<a name="wp1199390"> </a><li class="pSmartList2">iSCSI interface 7/5 is configured to identify initiators by node name.</li>
<a name="wp1199391"> </a><li class="pSmartList2">The iSCSI initiator host 1 with IPv4 address 10.11.1.10 and name iqn.1987-05.com.cisco:01.255891611111 connects to IPS port 7/1 is identified using IPv4 address (host 1 = 10.11.1.10).</li>
<a name="wp1199392"> </a><li class="pSmartList2">The iSCSI initiator host 2 with IPv4 address 10.15.1.10 and node name iqn.1987-05.com.cisco:01.25589167f74c connects to IPS port 7/5.</li>
</ul></div>
</ul></div>
<a name="wp1199400"> </a><h2 class="pHeading2">
Detailed Steps
</h2>
<a name="wp1337823"> </a><p class="pBody">
To configure this example, follow these steps:

</p>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp1337824"> </a><li class="pSmartList1">Configure null authentication for all iSCSI hosts in Cisco MDS switches. 
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337825"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">End Devices</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">iSCSI</b><span style="font-weight: bold"> </span>in the Physical Attributes pane.</li>
<a name="wp1337826"> </a><li class="pSmartList2">Select<b class="cBold"> none</b> from the AuthMethod drop-down menu in the Information pane.</li>
<a name="wp1337827"> </a><li class="pSmartList2">Click the <b style="font-weight: bold" class="cBold">Apply Changes</b><span style="font-weight: bold"> </span>icon.</li>
</ol></div>
<a name="wp1337828"> </a><li class="pSmartList1">Configure iSCSI to dynamically import all Fibre Channel targets into the iSCSI SAN using 
auto-generated iSCSI target names.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337829"> </a><li class="pSmartList2">In Device Manager, click <b style="font-weight: bold" class="cBold">IP</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">iSCSI</b><span style="font-weight: bold">.</span></li>
<a name="wp1337830"> </a><li class="pSmartList2">Click the <b style="font-weight: bold" class="cBold">Targets</b><span style="font-weight: bold"> </span>tab. </li>
<a name="wp1337831"> </a><li class="pSmartList2">Check the <b class="cBold">Dynamically Import FC Targets</b> check box.</li>
<a name="wp1337832"> </a><li class="pSmartList2">Click <b class="cBold">Apply</b>.</li>
</ol></div>
<a name="wp1337833"> </a><li class="pSmartList1">Configure the Gigabit Ethernet interface in slot 7 port 1 with an IPv4 address and enable the interface.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337834"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Switches</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Interfaces </b><span style="font-weight: bold">&gt; </span><b style="font-weight: bold" class="cBold">Gigabit Ethernet</b><span style="font-weight: bold"> </span>in the Physical Attributes pane.</li>
<a name="wp1337835"> </a><li class="pSmartList2">Select the<span style="font-weight: bold"> </span><b class="cBold">IP Address</b> tab in the Information pane and click<b class="cBold"> Create Row</b>.</li>
<a name="wp1337836"> </a><li class="pSmartList2">Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 1.</li>
<a name="wp1337837"> </a><li class="pSmartList2">Click <b style="font-weight: bold" class="cBold">Create</b><span style="font-weight: bold">.</span></li>
<a name="wp1337838"> </a><li class="pSmartList2">Select the <span style="font-weight: bold">General</span> tab and select<b class="cBold"> up </b>from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 1.</li>
<a name="wp1337839"> </a><li class="pSmartList2">Click the <span style="font-weight: bold">Apply Changes </span>icon.</li>
</ol></div>
<a name="wp1337840"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> Host 2 is connected to this port.

</p>
<a name="wp1337841"> </a><li class="pSmartList1">Configure the iSCSI interface in slot 7 port 1 to identify all dynamic iSCSI initiators by their IP address, 
and enable the interface.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337842"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Switches</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Interfaces </b><span style="font-weight: bold">&gt; </span><b class="cBold">FC Logical</b> in the Physical Attributes pane.</li>
<a name="wp1337843"> </a><li class="pSmartList2">Click the<b class="cBold"> iSCSI </b>tab in the Information pane.</li>
<a name="wp1337844"> </a><li class="pSmartList2">Select<b class="cBold"> ipaddress</b> from the Initiator ID Mode drop-down menu and click the<b class="cBold"> Apply Changes </b>icon.</li>
<a name="wp1337845"> </a><li class="pSmartList2">In Device Manager, choose<b style="font-weight: bold" class="cBold"> Interfaces</b><span style="font-weight: bold"> &gt; </span><b class="cBold">Ethernet and iSCSI</b>.</li>
<a name="wp1337846"> </a><li class="pSmartList2">Click the<b class="cBold"> iSCSI</b> tab.</li>
<a name="wp1337847"> </a><li class="pSmartList2">Select<b class="cBold"> up </b>from the Admin drop-down menu for the iSCSI interface in slot 7 port 1.</li>
<a name="wp1337848"> </a><li class="pSmartList2">Click <b class="cBold">Apply</b>.</li>
</ol></div>
<a name="wp1337849"> </a><li class="pSmartList1">Configure the Gigabit Ethernet interface in slot 7 port 5 with an IPv4 address and enable the interface.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337850"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Switches</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Interfaces</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Gigabit Ethernet</b><span style="font-weight: bold"> </span>in the Physical Attributes pane.</li>
<a name="wp1337851"> </a><li class="pSmartList2">Click the<b class="cBold"> IP Address</b> tab in the Information pane and click <b class="cBold">Create Row</b>.</li>
<a name="wp1337852"> </a><li class="pSmartList2">Set the IP address and subnet mask for the Gigabit Ethernet interface in slot 7 port 5.</li>
<a name="wp1337853"> </a><li class="pSmartList2">Click <b style="font-weight: bold" class="cBold">Create</b><span style="font-weight: bold">.</span></li>
<a name="wp1337854"> </a><li class="pSmartList2">Select the <span style="font-weight: bold">General</span> tab and select <b class="cBold">up </b>from the Admin drop-down menu for the Gigabit Ethernet interface in slot 7 port 5.</li>
<a name="wp1337855"> </a><li class="pSmartList2">Click the <b style="font-weight: bold" class="cBold">Apply Changes</b><span style="font-weight: bold"> </span>icon.</li>
</ol></div>
<a name="wp1337856"> </a><li class="pSmartList1">Configure the iSCSI interface in slot 7 port 5 to identify all dynamic iSCSI initiators by node name and 
enable the interface.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337857"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Switches </b><span style="font-weight: bold">&gt; </span><b style="font-weight: bold" class="cBold">Interfaces </b><span style="font-weight: bold">&gt; </span><b class="cBold">FC Logical </b>in the Physical Attributes pane.</li>
<a name="wp1337858"> </a><li class="pSmartList2">Click the<span style="font-weight: bold"> </span><b class="cBold">iSCSI </b>tab in the Information pane.</li>
<a name="wp1337859"> </a><li class="pSmartList2">Select<b class="cBold"> name</b> from the Initiator ID Mode drop-down menu and click the <b class="cBold">Apply Changes</b> icon.</li>
<a name="wp1337860"> </a><li class="pSmartList2">In Device Manager, choose<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">Interfaces</b><span style="font-weight: bold"> &gt; </span><b class="cBold">Ethernet and iSCSI</b>.</li>
<a name="wp1337861"> </a><li class="pSmartList2">Click the<b class="cBold"> iSCSI</b> tab.</li>
<a name="wp1337862"> </a><li class="pSmartList2">Select <b class="cBold">up</b> from the Admin drop-down menu for the iSCSI interface in slot 7 port 5.</li>
<a name="wp1337863"> </a><li class="pSmartList2">Click<b class="cBold"> Apply</b>.</li>
</ol></div>
<a name="wp1337864"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> Host 1 is connected to this port.

</p>
<a name="wp1337865"> </a><li class="pSmartList1">Verify the available Fibre Channel targets.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337866"> </a><li class="pSmartList2">In Device Manager, Choose<b style="font-weight: bold" class="cBold"> FC</b><span style="font-weight: bold"> &gt;</span><b class="cBold"> Name Server</b>.</li>
<a name="wp1337867"> </a><li class="pSmartList2">Click the <b class="cBold">General</b> tab.</li>
</ol></div>
<a name="wp1337868"> </a><li class="pSmartList1">Create a zone named <span style="font-style: normal">iscsi-zone-1</span> with host 1 and one Fibre Channel target in it. 
</li>
<a name="wp1337869"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> 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.

</p>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337870"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Zones</b><span style="font-weight: bold"> &gt; </span><b class="cBold">Edit Local Full Zone Database</b>.</li>
<a name="wp1337871"> </a><li class="pSmartList2">Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.</li>
<a name="wp1337872"> </a><li class="pSmartList2">Select the<b style="font-weight: bold" class="cBold"> Zones</b><span style="font-weight: bold"> </span>folder in the left navigation pane and click <b class="cBold">Insert</b>.</li>
<a name="wp1337873"> </a><li class="pSmartList2">Set the Zone Name field to<span style="font-weight: bold"> </span><b class="cBold">iscsi-zone-1</b> and click <b style="font-weight: bold" class="cBold">OK</b><span style="font-weight: bold">.</span></li>
<a name="wp1337874"> </a><li class="pSmartList2">Select the iscsi-zone-1 folder in the left navigation pane and click <b class="cBold">Insert</b>.</li>
<a name="wp1337875"> </a><li class="pSmartList2">Set the ZoneBy radio button to<b style="font-weight: bold" class="cBold">WWN</b><span style="font-weight: bold">.</span></li>
<a name="wp1337876"> </a><li class="pSmartList2">Set the Port WWN to the pWWN for the Fibre Channel target (that is, 21:00:00:20:37:6f:fd:97) and click <b class="cBold">Add</b>.</li>
<a name="wp1337877"> </a><li class="pSmartList2">Set the ZoneBy radio button to<b style="font-weight: bold" class="cBold"> iSCSI IP Address/Subnet</b><span style="font-weight: bold">.</span></li>
<a name="wp1337878"> </a><li class="pSmartList2">Set the IP Address/Mask field to the IP Address for Host 1 iSCSI initiator (10.11.1.10) and click <b class="cBold">Add</b>.</li>
</ol></div>
<a name="wp1337879"> </a><li class="pSmartList1">Create a zone named<em style="font-style: italic; font-weight: normal"> </em><span style="font-style: normal">iscsi-zone-2</span> with host 2 and two Fibre Channel targets in it.
</li>
<a name="wp1337880"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> 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.

</p>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337881"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Zones </b><span style="font-weight: bold">&gt; </span><b class="cBold">Edit Local Full Zone Database </b>from the main menu.</li>
<a name="wp1337882"> </a><li class="pSmartList2">Select VSAN 2 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.</li>
<a name="wp1337883"> </a><li class="pSmartList2">Select the<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">Zones</b><span style="font-weight: bold"> </span>folder in the left navigation pane and click <b class="cBold">Insert</b>.</li>
<a name="wp1337884"> </a><li class="pSmartList2">Set the Zone Name field to<b class="cBold"> iscsi-zone-2 </b>and click <b style="font-weight: bold" class="cBold">OK</b><span style="font-weight: bold">.</span></li>
<a name="wp1337885"> </a><li class="pSmartList2">Select the<b class="cBold"> iscsi-zone-2</b> folder in the left navigation pane and click <b class="cBold">Insert</b>.</li>
<a name="wp1337886"> </a><li class="pSmartList2">Set the ZoneBy radio button to<b style="font-weight: bold" class="cBold">WWN</b><span style="font-weight: bold">.</span></li>
<a name="wp1337887"> </a><li class="pSmartList2">Set the Port WWN to the pWWN for one of the Fibre Channel targets (for example, 21:00:00:20:37:6f:fe:5). and click <b class="cBold">Add</b>.</li>
<a name="wp1337888"> </a><li class="pSmartList2">Set the Port WWN to the pWWN for another of the Fibre Channel targets (for example, 21:00:00:20:37:a6:a6:5d). and click <b class="cBold">Add</b>.</li>
<a name="wp1337889"> </a><li class="pSmartList2">Set the ZoneBy radio button to <b style="font-weight: bold" class="cBold">iSCSI name</b><span style="font-weight: bold">.</span></li>
<a name="wp1337890"> </a><li class="pSmartList2">Set the Port Name field to the symbolic name for host 2 (iqn.1987-05.com.cisco:01.25589167f74c) and click <b class="cBold">Add</b>.</li>
</ol></div>
<a name="wp1337891"> </a><li class="pSmartList1">Create a zone set, add the two zones as members, and activate the zone set.
</li>
<a name="wp1337892"> </a><p class="pListNote1">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> iSCSI interface is configured to identify all hosts based on node name.

</p>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337893"> </a><li class="pSmartList2">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">Zones </b><span style="font-weight: bold">&gt; </span><b class="cBold">Edit Local Full Zone Database</b>.</li>
<a name="wp1337894"> </a><li class="pSmartList2">Select VSAN 1 from the VSAN drop-down menu in the Edit Local Full Zone Database dialog box.</li>
<a name="wp1337895"> </a><li class="pSmartList2">Select the<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">Zoneset</b><span style="font-weight: bold"> </span>folder in the left navigation pane and click <b class="cBold">Insert</b>.</li>
<a name="wp1337896"> </a><li class="pSmartList2">Set the Zoneset Name to <b class="cBold">zonset-iscsi </b>and click <b class="cBold">OK</b>.</li>
<a name="wp1337897"> </a><li class="pSmartList2">Click on the<b class="cBold"> zoneset-iscsi</b> folder and click<b class="cBold"> Insert</b>.</li>
<a name="wp1337898"> </a><li class="pSmartList2">Set the Zone Name field to<span style="font-weight: bold"> </span><b class="cBold">iscsi-zone-1 </b>and click<b style="font-weight: bold" class="cBold"> OK</b><span style="font-weight: bold">.</span></li>
<a name="wp1337899"> </a><li class="pSmartList2">Set the Zone Name field to<span style="font-weight: bold"> </span><b class="cBold">iscsi-zone-2 </b>and click <b style="font-weight: bold" class="cBold">OK</b><span style="font-weight: bold">.</span></li>
<a name="wp1337900"> </a><li class="pSmartList2">Click <b class="cBold">Activate</b> to activate the new zone set.</li>
<a name="wp1337901"> </a><li class="pSmartList2">Click <b class="cBold">Continue Activation</b> to finish the activation.</li>
</ol></div>
<a name="wp1337902"> </a><li class="pSmartList1">Bring up the iSCSI hosts (host 1 and host 2).
</li>
<a name="wp1337903"> </a><li class="pSmartList1">Show all the iSCSI sessions.
</li>
<div class="pSmartList2"><ol type="a" class="pSmartList2">
<a name="wp1337904"> </a><li class="pSmartList2">In Device Manager, choose<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">Interfaces </b><span style="font-weight: bold">&gt; </span><b style="font-weight: bold" class="cBold">Monitor</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Ethernet</b><span style="font-weight: bold">.</span></li>
<a name="wp1337905"> </a><li class="pSmartList2">Click the<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">iSCSI connections</b><span style="font-weight: bold"> </span>tab to show all the iSCSI sessions.</li>
<a name="wp1337906"> </a><li class="pSmartList2">In Device Manager, choose<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">IP</b><span style="font-weight: bold"> &gt; </span><b class="cBold">iSCSI</b> and select the <b style="font-weight: bold" class="cBold">Session Initiators</b><span style="font-weight: bold"> </span>tab. </li>
<a name="wp1337907"> </a><li class="pSmartList2">Click <b style="font-weight: bold" class="cBold">Details</b><span style="font-weight: bold">.</span></li>
</ol></div>
<a name="wp1337908"> </a><li class="pSmartList1">In Cisco DCNM-SAN, choose <b style="font-weight: bold" class="cBold">End Devices</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">iSCSI</b><span style="font-weight: bold"> </span>in the Physical Attributes pane to verify the details 
of the two iSCSI initiators
</li>
<a name="wp1337909"> </a><li class="pSmartList1">In Cisco DCNM-SAN, choose<b style="font-weight: bold" class="cBold"> Zones</b><span style="font-weight: bold"> &gt;</span><b class="cBold"> Edit Local Full Zone Database </b>to view the active zone set. The 
iSCSI initiators&#39; FC IDs are resolved.
</li>
<a name="wp1337910"> </a><p class="pBodyRelative">

</p>
<a name="wp1337911"> </a><li class="pSmartList1">In Device Manager, Choose<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">FC</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Name Server</b><span style="font-weight: bold">. </span>The Fibre Channel name server shows the virtual N 
ports created for the iSCSI hosts.
</li>
<a name="wp1337912"> </a><li class="pSmartList1">In Device Manager, Choose<span style="font-weight: bold"> </span><b style="font-weight: bold" class="cBold">FC</b><span style="font-weight: bold"> &gt; </span><b style="font-weight: bold" class="cBold">Name Server</b><span style="font-weight: bold">.
</span></li>
<a name="wp1337913"> </a><li class="pSmartList1">Click the <b style="font-weight: bold" class="cBold">Advanced</b><span style="font-weight: bold"> </span>tab<span style="font-weight: bold">. </span>Verify the detailed output of the iSCSI initiator nodes in the Fibre Channel 
name server.
</li>
</ol></div>
<hr /><br><p class="pBody">Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.</p> 

    </blockquote>

  </body>
</html>
