<!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:59" />
    <title>Activation and Auto-learning Configuration Distribution </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=1793;
  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="wp1077313"> </a><h1 class="pTitle">
Activation and Auto-learning Configuration Distribution

</h1>
<a name="wp1077314"> </a><p class="pBody">
Activation and auto-learning configurations in distributed mode are remembered as actions to be 
performed when you commit the changes in the pending database. 

</p>
<a name="wp1077315"> </a><p class="pBody">
Learned entries are temporary and do not have any role in determining if a login is authorized or not. As 
such, learned entries do not participate in distribution. When you disable learning and commit the 
changes in the pending database, the learned entries become static entries in the active database and are 
distributed to all switches in the fabric. After the commit, the active database on all switches are identical 
and learning can be disabled.

</p>
<a name="wp1077316"> </a><p class="pBody">
If the pending database contains more than one activation and auto-learning configuration when you 
commit the changes, then the activation and auto-learning changes are consolidated and the behavior 
may change (see <a href="psec11.html#wp1077326">Table&#160;37-3</a>). 

</p>
<a name="wp1077410"> </a><p class="pBodyRelative">
</p><div>
<table border="2" cellpadding="2" id="wp1077326table1077320">
  <caption><a name="wp1077326"> </a><div class="pTableTitle">
Table&#160;37-3	Scenarios for Activation and Auto- learning Configurations in Distributed Mode&#160;

</div>
</caption>
  <tr bgcolor="#CCCCCC" align="left" valign="middle">    <th><a name="wp1077334"> </a><p class="pCellHeading">
Scenario

</p>
</th>
    <th><a name="wp1077336"> </a><p class="pCellHeading">
Actions

</p>
</th>
    <th><a name="wp1077338"> </a><p class="pCellHeading">
Distribution = OFF

</p>
</th>
    <th><a name="wp1077340"> </a><p class="pCellHeading">
Distribution = ON

</p>
</th>
</tr>
  <tr align="left" valign="top">    <td colspan="1" rowspan="3"><a name="wp1077342"> </a><p class="pBody">
A and B exist in the 
configuration 
database, 
activation is not 
done and devices 
C,D are logged in.

</p>
</td>
    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077344"> </a><li class="pSmartList0">You activate the port 
security database and 
enable auto-learning. 
</li>
</ol></div>
</td>
    <td><a name="wp1077346"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077351"> </a><p class="pBody">
active database = {A,B, C<a href="#wp1077350"><sup class="Footnote">1</sup></a>, D*}

</p>
</td>
    <td><a name="wp1077353"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077354"> </a><p class="pBody">
active database = {null}

</p>
<a name="wp1077355"> </a><p class="pBody">
pending database = {A,B + activation to 
be enabled}

</p>
</td>
</tr>
  <tr align="left" valign="top">    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077359"> </a><li class="pSmartList0">A new entry E is 
added to the 
configuration 
database. 
</li>
</ol></div>
</td>
    <td><a name="wp1077361"> </a><p class="pBody">
configuration database = {A,B, 
E} 

</p>
<a name="wp1077362"> </a><p class="pBody">
active database = {A,B, C*, D*}

</p>
</td>
    <td><a name="wp1077364"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077365"> </a><p class="pBody">
active database = {null}

</p>
<a name="wp1077366"> </a><p class="pBody">
pending database = {A,B, E + activation 
to be enabled}

</p>
</td>
</tr>
  <tr align="left" valign="top">    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077370"> </a><li class="pSmartList0">You issue a commit.
</li>
</ol></div>
</td>
    <td><a name="wp1077372"> </a><p class="pBody">
Not applicable

</p>
</td>
    <td><a name="wp1077374"> </a><p class="pBody">
configuration database = {A,B, E} 

</p>
<a name="wp1077375"> </a><p class="pBody">
active database = {A,B, E, C*, D*}

</p>
<a name="wp1077376"> </a><p class="pBody">
pending database = empty

</p>
</td>
</tr>
  <tr align="left" valign="top">    <td colspan="1" rowspan="3"><a name="wp1077378"> </a><p class="pBody">
A and B exist in the 
configuration 
database, 
activation is not 
done and devices 
C,D are logged in.

</p>
</td>
    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077380"> </a><li class="pSmartList0">You activate the port 
security database and 
enable auto-learning. 
</li>
</ol></div>
</td>
    <td><a name="wp1077382"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077383"> </a><p class="pBody">
active database = {A,B, C*, D*}

</p>
</td>
    <td><a name="wp1077385"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077386"> </a><p class="pBody">
active database = {null}

</p>
<a name="wp1077387"> </a><p class="pBody">
pending database = {A,B + activation to 
be enabled}

</p>
</td>
</tr>
  <tr align="left" valign="top">    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077391"> </a><li class="pSmartList0">You disable learning.
</li>
</ol></div>
</td>
    <td><a name="wp1077393"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077394"> </a><p class="pBody">
active database = {A,B, C, D}

</p>
</td>
    <td><a name="wp1077396"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077397"> </a><p class="pBody">
active database = {null}

</p>
<a name="wp1077398"> </a><p class="pBody">
pending database = {A,B + activation to 
be enabled +<br />
learning to be disabled}

</p>
</td>
</tr>
  <tr align="left" valign="top">    <td><div class="pSmartList0"><ol type="1" class="pSmartList0">
<a name="wp1077402"> </a><li class="pSmartList0">You issue a commit.
</li>
</ol></div>
</td>
    <td><a name="wp1077404"> </a><p class="pBody">
Not applicable

</p>
</td>
    <td><a name="wp1077406"> </a><p class="pBody">
configuration database = {A,B} 

</p>
<a name="wp1077407"> </a><p class="pBody">
active database = {A,B} and devices C 
and D are logged out. This is equal to an 
activation with auto-learning disabled.

</p>
<a name="wp1077409"> </a><p class="pBody">
pending database = empty

</p>
</td>
</tr>
</table>

<table>
  <tr>
    <td><a name="wp1077350"> </a><p class="pTableFootnote">
<a href="#wp1077351"><sup class="Footnote">1</sup></a>The * (asterisk) indicates learned entries.

</p>
</td>
  </tr>
</table>
</div>
<p class="pBodyRelative">
</p>
<a name="wp1077411"> </a><p class="pBodyAutonumRel">
<strong>Tip	&nbsp;&nbsp;&nbsp;</strong> In this case, we recommend that you perform a commit at the end of each operation: after you activate 
port security and after you enable auto-learning.

</p>
<hr /><br><p class="pBody">Copyright 2010-2013, Cisco Systems, Inc. All rights reserved.</p> 

    </blockquote>

  </body>
</html>
