×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.
Leo Laohoo Wed, 06/25/2014 - 14:52
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    The Hall of Fame designation is a lifetime achievement award based on significant overall achievements in the community. 

  • Cisco Designated VIP,

    2017 LAN, Wireless

The answer to your school work question is Spanning-Tree.

 

Click on the link for a better explanation.

shankarreddy786 Thu, 06/26/2014 - 04:21
User Badges:

I know that I am asked about how loops are formed in a layer 2 switch?

Joseph W. Doherty Mon, 06/30/2014 - 05:56
User Badges:
  • Super Bronze, 10000 points or more

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Loops are formed when the same broadcast domain has at least one circular L2 path.

In your example, if your 3 switches were "dumb" or, if "smart", the same VLAN was on all 3 connections, you've created a L2 loop.

When pc1 sends its first frame to pc0, sw1 will "record" the source mac was seen on the ingress port and then flood the frame to all other ports (as it doesn't yet know the dest mac port).

When sw2 and sw3 receive the flooded frames from sw1, each will record the src mac and flood to all other ports; one of which being pc0's.

However, sw2 and sw3 will then get the flooded frame from each other.  Now, though, they will see the src mac from a different ingress port, and also again, flood to all other ports.  Sw1 will receive the newly flooded frames from ports to sw2 and sw3, and it too will flood to all other ports.  I.e. the frame is looping through the L2 ring.  NB: for L2, there's no timeout, i.e. the frame will continue to loop.

shankarreddy786 Sun, 07/06/2014 - 22:28
User Badges:

Thanq to Joseph Doherty

And in these reply i have question ?

when flooded frame receives sw3 it will also flood pc mac address or not ?

Joseph W. Doherty Mon, 07/07/2014 - 03:36
User Badges:
  • Super Bronze, 10000 points or more

isclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Yes, the PC MAC will be flooded, as its the source MAC for the original frame.

Joseph W. Doherty Wed, 07/09/2014 - 02:23
User Badges:
  • Super Bronze, 10000 points or more

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

(L2) Switches don't have routing tables.

Joseph W. Doherty Sat, 07/12/2014 - 03:34
User Badges:
  • Super Bronze, 10000 points or more

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

Sure, add to my original post, every time a frame enters a switch, the switch will record the source MAC and the ingress port it arrived on in the MAC table.

Actions

This Discussion