<!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:47:30" />
    <title>Linking a Virtual Device with a Physical Device </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=1209;
  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="wp1073634"> </a><h1 class="pTitle">
Linking a Virtual Device with a Physical Device

</h1>
<a name="wp1073635"> </a><p class="pBody">
After creating a virtual device and configuring it as part of a zone, you can define the primary device for 
it using the <b style="font-weight: bold" class="cBold">link</b><b style="font-weight: normal" class="cBold"> </b>command, which is also used to fail over to the secondary device. 

</p>
<a name="wp1073636"> </a><p class="pBodyAutonumNoRule">
<strong>Note	&nbsp;&nbsp;&nbsp;</strong> When a link operation fails over to the secondary device, the virtual device is taken offline, and then 
brought online.

</p>
<a name="wp1073637"> </a><h2 class="pHeading2">
Prerequisites
</h2>
<a name="wp1073773"> </a><p class="pBody">
As of MDS NX-OS Release 4.1(1a), the following conditions must be considered before linking a 
device:

</p>
<div class="pSmartList1"><ul class="pSmartList1">
<a name="wp1073638"> </a><li class="pSmartList1">If you link to the secondary device which is currently active because of failover, the primary tag is 
moved to the secondary device and the secondary device becomes the primary device.
</li>
<a name="wp1073647"> </a><li class="pSmartList1">When the secondary device is active, if you link to a third device, and if the fallback attribute was 
not configured, the third device becomes the primary device but the secondary device continues to 
be the active device.
</li>
<a name="wp1073657"> </a><li class="pSmartList1">When the secondary device is active, if you link to a third device, and if the fallback attribute was 
configured, then the third device becomes the primary device as well as the active device.
</li>
</ul></div>
<a name="wp1073802"> </a><h2 class="pHeading2">
Detailed Steps
</h2>
<a name="wp1105590"> </a><p class="pBody">
To link a virtual target with a physical target, follow these steps:

</p>
<div class="pSmartList1"><ol type="1" class="pSmartList1">
<a name="wp1105591"> </a><li class="pSmartList1">Click the <span style="font-weight: bold">Real Devices</span> tab and then click the <span style="font-weight: bold">Create Row</span> icon.
</li>
<a name="wp1105592"> </a><li class="pSmartList1">Select the Virtual Device ID from the pull-down list or enter an existing ID for the virtual target that you 
are linking with a physical target. 
</li>
<a name="wp1105593"> </a><li class="pSmartList1">Select the Real Device ID of the physical target that you are linking with the virtual target.
</li>
<a name="wp1105594"> </a><li class="pSmartList1">Click either the <span style="font-weight: bold">pWWN</span> or <span style="font-weight: bold">deviceAlias</span> radio button, and select the appropriate pWWN or device alias 
from the pull-down menu. The Name field is automatically populated when you select the pWWN or 
device alias.
</li>
<a name="wp1105595"> </a><li class="pSmartList1">Click either the <span style="font-weight: bold">primary</span> or <span style="font-weight: bold">secondary</span> radio button for the Map Type.
</li>
<a name="wp1105596"> </a><li class="pSmartList1">Click the <b class="cBold">CFS</b> icon to save and distribute these changes, or click <span style="font-weight: bold">Close</span> to discard any unsaved changes.
</li>
</ol></div>
<hr /><br><p class="pBody">Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.</p> 

    </blockquote>

  </body>
</html>
