Jump to content

9th Lecture - Networking


k2s

Recommended Posts

Ok guys........ saaaaaaaaaaaaaaaaaaaanaaaaaaaa gaaaaaaaaaaaaaaap ochindhi 8th lecture ki 9th lecture ki.............

guess all enjoyed the movie & DB lo godavalu........ [img]http://lh3.ggpht.com/-qe2OfjIG3io/TjqdW6FhusI/AAAAAAAAAHs/UVyi4Z25rUE/s400/33333.png[/img]


lets start again with [img width=143 height=81]http://www.imageping.com/out.php/i15845_aliinpokiridoledole.gif[/img]


Today's topics:

1) Spanning Tree Protocol ( left over topic, will start fresh)
2) RSTP, MSTP ( If on public demand, else will explain briefly)

These topics are most important topics for a network engg........ everybody should have a basic knowledge.

On public demand, i removed the poll option.

Welcome all-  [img width=143 height=81]http://www.imageping.com/out.php/i15845_aliinpokiridoledole.gif[/img]

Link to comment
Share on other sites

  • Replies 78
  • Created
  • Last Reply

Top Posters In This Topic

  • k2s

    42

  • riddle

    7

  • ToughGuy

    5

  • ding

    4

Top Posters In This Topic

Ok guys.....recalling from our 7th lecture- 3rd topic STP:

[quote author=k2s link=topic=237832.msg2965864#msg2965864 date=1316127200]
Ok Guys:

Next Topic : Spanning Tree Protocol (IEEE 802.1d)


The Need for Spanning Tree:


[img]http://i54.tinypic.com/2i8uff5.png[/img]

Switches flood broadcasts out all interfaces in the same VLAN, except the interface in
which the frame arrived. In the figure, that means SW3 will forward Bob’s frame to SW2;
SW2 will forward the frame to SW1; SW1 will forward the frame back to SW3; and SW3
will forward it back to SW2 again. This frame will loop until something changes—someone
shuts down an interface, reloads a switch, or does something else to break the loop. Also
note that the same event happens in the opposite direction. When Bob sends the original
frame, SW3 also forwards a copy to SW1, SW1 forwards it to SW2, and so on.



MAC table instability also occurs as a result of the looping frames. MAC table instability
means that the switches’ MAC address tables will keep changing the information listed for
the source MAC address of the looping frame. For example, SW3 begins Figure 2-1 with a
MAC table entry as follows:

0200.3333.3333        Fa0/13          VLAN 1

However, now think about the switch-learning process that occurs when the looping frame
goes to SW2, then SW1, and then back into SW3’s Gi0/1 interface. SW3 thinks, “Hmmm...
the source MAC address is 0200.3333.3333, and it came in my Gi0/1 interface. Update my
MAC table!” resulting in the following entry on SW3:


0200.3333.3333        Gi0/1            VLAN 1


At this point, if a frame arrives at SW3—a different frame than the looping frame that
causes the problems—destined to Bob’s MAC address of 0200.3333.3333, SW3 would
incorrectly forward the frame out Gi0/1 to SW1. This new frame can also loop, or the frame
might simply never be delivered to Bob.


The third class of problem caused by not using STP in a network with redundancy is that
working hosts get multiple copies of the same frame. Consider a case in which Bob sends
a frame to Larry, but none of the switches know Larry’s MAC address. (Switches flood
frames sent to unknown destination unicast MAC addresses.) When Bob sends the frame
(destined to Larry’s MAC address), SW3 sends a copy to SW1 and SW2. SW1 and SW2
also flood the frame, causing copies of the frame to loop. SW1 also sends a copy of each
frame out Fa0/11 to Larry. As a result, Larry gets multiple copies of the frame, which may
result in an application failure, if not more pervasive networking problems.
[/quote]

[quote author=k2s link=topic=237832.msg2965932#msg2965932 date=1316127855]
Three Classes of Problems Caused by Not Using STP in Redundant LANs



Problem                                    Description

Broadcast storms                    The forwarding of a frame repeatedly on the same links, consuming
                                              significant parts of the links’ capacities


MAC table instability              The continual updating of a switch’s MAC address table with incorrect
                                                entries, in reaction to looping frames, resulting in frames being sent to the
                                              wrong locations

Multiple frame                        A side effect of looping frames in which multiple copies of one frame are
                                                transmission delivered to the intended host, confusing the host
[/quote]

[quote author=k2s link=topic=237832.msg2965952#msg2965952 date=1316128037]
What IEEE 802.1d Spanning Tree Does

STP prevents loops by placing each bridge/switch port in either a Forwarding State or a
Blocking State. Interfaces in the Forwarding State act as normal, forwarding and receiving
frames, but interfaces in a Blocking State do not process any frames except STP messages.


After STP is run....... u can see in figure :

[img width=900 height=519]http://i51.tinypic.com/20s7p6d.png[/img]



Now when Bob sends a broadcast frame, the frame does not loop. Bob sends the frame to
SW3 (Step 1), which then forwards the frame only to SW1 (Step 2), because SW3’s Gi0/2
interface is in a Blocking State. SW1 floods the frame out both Fa0/11 and Gi0/1 (Step 3).
SW2 floods the frame out Fa0/12 and Gi0/1 (Step 4). However, SW3 ignores the frame
received from SW2, again because that frame enters SW3’s Gi0/2 interface, which is in a
Blocking State.
[/quote]

[quote author=k2s link=topic=237832.msg2965997#msg2965997 date=1316128380]
How Spanning Tree Works



STP uses three criteria to choose whether to put an interface in Forwarding State:
■ STP elects a root switch. STP puts all working interfaces on the root switch in
  Forwarding State.


■ Each nonroot switch considers one of its ports to have the least administrative cost
  between itself and the root switch. STP places this least-root-cost interface, called that
  switch’s root port (RP), in Forwarding State.


■ Many switches can attach to the same Ethernet segment. The switch with the lowest
  administrative cost from itself to the root bridge, as compared with the other switches
  attached to the same segment, is placed in Forwarding State. The lowest-cost switch on
each segment is called the designated bridge, and that bridge’s interface, attached to
  that segment, is called the designated port (DP).



NOTE The real reason the root places all working interfaces in a Forwarding State is
that all its interfaces will become DPs, but it is easier to just remember that the all the root
switches’ working interfaces will forward frames.



All other interfaces are placed in Blocking State.
[/quote]

Link to comment
Share on other sites

[quote author=kakatiya link=topic=243110.msg3040320#msg3040320 date=1317154769]
inka spanning tree vlan timers loki digu bhayya
[/quote] &*B@ &*B@ &*B@ &*B@

1-2 weeks gap oche sariki..... spanning ni spamming tree ani chadiva [img]http://lh6.ggpht.com/-TAXJbYC3HjA/TmBTyfaYd8I/AAAAAAAAD9s/OP1Gaw5Es8A/Brahmi-5.gif[/img]

Link to comment
Share on other sites

Spanning tree states :


State                            Forwards Data Frames?                  Learns MACs Based on                              Transitory or
                                                                                            Received Frames?                                        Stable State?

Blocking                                      No                                                No                                                    Stable
Listening                                    No                                                No                                                    Transitory
Learning                                      No                                                Yes                                                  Transitory
Forwarding                                  Yes                                                Yes                                                  Stable
Disabled                                      No                                                  No                                                    Stable

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...