<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How a switch handle duplicated MAC address on different ports? in Switching</title>
    <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970196#M555403</link>
    <description>&lt;P&gt;its generally not happens in real environment, until some users try to plug and trying different port. (that is not best practice)&lt;/P&gt;
&lt;P&gt;Once the device is moved to NEW Port, it create the new entry in the mac-address table with source mac associated with the interface.&lt;/P&gt;
&lt;P&gt;MAC address table can not hold duplicate mac Address, so it will update with new information what switch received.&lt;/P&gt;
&lt;P&gt;You can also restrict the devices not move like this using port-security - in this case due to violation of move - the port will be error disabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Dec 2023 09:45:21 GMT</pubDate>
    <dc:creator>balaji.bandi</dc:creator>
    <dc:date>2023-12-02T09:45:21Z</dc:date>
    <item>
      <title>How a switch handle duplicated MAC address on different ports?</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970186#M555401</link>
      <description>&lt;P&gt;Hello, I am studying CCNA and have a question about MAC address table.&lt;/P&gt;&lt;P&gt;Let say I have a switch which have f0/3 connected with a PC with MAC address 0000.0000.0011.&lt;/P&gt;&lt;P&gt;Now i remove the cable of f0/3 and connect to f0/4.&lt;/P&gt;&lt;P&gt;By default they should be some protocol such as CDP which the swithc will learn the MAC address of 0000.0000.0011 on f0/4.&lt;/P&gt;&lt;P&gt;By default the aging time is 300 second, so there will be the same MAC address 0000.0000.0011 on both f0/3 and f0/4 interface for 300 seconds?&amp;nbsp;&lt;BR /&gt;May I ask how cisco switch handle with this case, thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 09:29:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970186#M555401</guid>
      <dc:creator>swanming</dc:creator>
      <dc:date>2023-12-02T09:29:55Z</dc:date>
    </item>
    <item>
      <title>How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970184#M555406</link>
      <description>&lt;P&gt;Hello, I am studying CCNA and have a question about MAC address table.&lt;/P&gt;&lt;P&gt;Let say I have a switch which have f0/3 connected with a PC with MAC address 0000.0000.0011.&lt;/P&gt;&lt;P&gt;Now i remove the cable of f0/3 and connect to f0/4.&lt;/P&gt;&lt;P&gt;By default they should be some protocol such as CDP which the swithc will learn the MAC address of 0000.0000.0011 on f0/4.&lt;/P&gt;&lt;P&gt;By default the aging time is 300 second, so there will be the same MAC address 0000.0000.0011 on both f0/3 and f0/4 interface for 300 seconds?&amp;nbsp;&lt;BR /&gt;May I ask how cisco switch handle with this case, thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 09:25:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970184#M555406</guid>
      <dc:creator>swanming</dc:creator>
      <dc:date>2023-12-02T09:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle duplicated MAC address on different ports?</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970194#M555402</link>
      <description>&lt;P&gt;SW will generate log for moving mac and forward traffic to new port that learn mac&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here SW without secuirty dont do anything&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use port secuirty then SW will shut the port or drop traffic.&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 09:42:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970194#M555402</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-12-02T09:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle duplicated MAC address on different ports?</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970196#M555403</link>
      <description>&lt;P&gt;its generally not happens in real environment, until some users try to plug and trying different port. (that is not best practice)&lt;/P&gt;
&lt;P&gt;Once the device is moved to NEW Port, it create the new entry in the mac-address table with source mac associated with the interface.&lt;/P&gt;
&lt;P&gt;MAC address table can not hold duplicate mac Address, so it will update with new information what switch received.&lt;/P&gt;
&lt;P&gt;You can also restrict the devices not move like this using port-security - in this case due to violation of move - the port will be error disabled.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 09:45:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970196#M555403</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2023-12-02T09:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle duplicated MAC address on different ports?</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970197#M555404</link>
      <description>&lt;P&gt;thats important when you bring out the concept that&amp;nbsp;&lt;SPAN&gt;MAC address table can not hold duplicate MAC address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I thought the SW will hold 2 entries of the same MAC address with different port so that will hang when frames come in with that MAC address as destination.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 09:48:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970197#M555404</guid>
      <dc:creator>swanming</dc:creator>
      <dc:date>2023-12-02T09:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970203#M555407</link>
      <description>&lt;P&gt;but when you moving device you disconnect from first port, and SW will remove mac for any port nonconnect.&lt;BR /&gt;MHM&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 10:12:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970203#M555407</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-12-02T10:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970204#M555408</link>
      <description>&lt;P&gt;How can this be done? by what kind of protocol?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 10:13:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970204#M555408</guid>
      <dc:creator>swanming</dc:creator>
      <dc:date>2023-12-02T10:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970214#M555410</link>
      <description>&lt;P&gt;No protocol need&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If SW see cable disconnect it mark port as no connect and remove all mac from that port and not wait mac to aging.&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 11:13:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970214#M555410</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-12-02T11:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970220#M555411</link>
      <description>&lt;P&gt;Take below pic as an example, PC1 is connected to SW fa0/1 via a hub.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/203900i5A7345C5D1E02D34/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In below pic, PC1 is disconnect and connected to SW fa0/2, on the SW, no cable is disconnected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/203901i65F4AEBFFBC7C22A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the above case, will the SW delete the outdated entries of PC1 on its MAC address table?&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 11:26:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970220#M555411</guid>
      <dc:creator>swanming</dc:creator>
      <dc:date>2023-12-02T11:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970224#M555412</link>
      <description>&lt;P&gt;Good Q&lt;/P&gt;
&lt;P&gt;When hub in network the issue start to appear.&lt;/P&gt;
&lt;P&gt;Yes you will see traffic disruption since SW can not mark port as nonconnect and depend on again of mac.&lt;/P&gt;
&lt;P&gt;So from time pc move to time mac aging you will see traffic drop.&lt;/P&gt;
&lt;P&gt;That why we dont use hub in network.&lt;/P&gt;
&lt;P&gt;MHM&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 11:37:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970224#M555412</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-12-02T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle duplicated MAC address on different ports?</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970235#M555413</link>
      <description>&lt;P&gt;As already mentioned by &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1065752"&gt;@MHM Cisco World&lt;/a&gt;, in your example, disconnecting from the original port will cause that switch to flush its MAC/port entry.&amp;nbsp; But suppose you had:&lt;/P&gt;
&lt;P&gt;PC&amp;lt;&amp;gt;sw1&amp;lt;&amp;gt;sw2&lt;/P&gt;
&lt;P&gt;When you disconnect PC sw1 will flush the MAC but sw2 will not!&amp;nbsp; If will continue to send PC frames to sw1 until the MAC ages out.&lt;/P&gt;
&lt;P&gt;Perhaps a more interesting variation of your question, suppose you start with:&lt;/P&gt;
&lt;P&gt;PC&amp;lt;&amp;gt;sw1&amp;lt;&amp;gt;sw2&amp;lt;&amp;gt;sw3&lt;/P&gt;
&lt;P&gt;Then move PC to have:&lt;/P&gt;
&lt;P&gt;sw1&amp;lt;&amp;gt;sw2&amp;lt;&amp;gt;sw3&amp;lt;&amp;gt;PC&lt;/P&gt;
&lt;P&gt;What happens then?&lt;/P&gt;
&lt;P&gt;Answer is an "it depends".&amp;nbsp; (Also the case in OP example, but more so in this case.)&lt;/P&gt;
&lt;P&gt;Basically, there's no "protocol" to insure, in OP case or my case, there won't be an issue.&amp;nbsp; Often we don't bump into the problem cases, but if you don't understand how L2 switches work, one can be quite confused why it's "broke" especially as problem may resolve itself after a second or two or a few minutes.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 12:21:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970235#M555413</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2023-12-02T12:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970239#M555414</link>
      <description>&lt;P&gt;Switch will continue to send PC1 frames to hub until MAC table ages out (when it will flood) or until it "knows" PC1 is on a different port (which is NOT known just by connecting PC1 to a switch port).&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 12:27:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970239#M555414</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2023-12-02T12:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: How a switch handle same MAC address found on different port</title>
      <link>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970240#M555415</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;That why we dont use hub in network."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As same situation arises with multiple switches, I would disagree.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2023 12:30:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/how-a-switch-handle-duplicated-mac-address-on-different-ports/m-p/4970240#M555415</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2023-12-02T12:30:01Z</dc:date>
    </item>
  </channel>
</rss>

