DOC PREVIEW
Berkeley ELENG 122 - Spanning Tree Protocol

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

11Spanning Tree ProtocolEE 122: Intro to Communication NetworksFall 2007 (WF 4-5:30 in Cory 277)Vern PaxsonTAs: Lisa Fowler, Daniel Killebrew & Jorge Ortizhttp://inst.eecs.berkeley.edu/~ee122/Slides by Lisa Fowler2Overview• Networks need redundancy– Provide redundant paths between end stations to enable the Bridged LAN to continue to provide the Service in the event of component failure (of bridge or segment)• Loops can cause major problems– Ethernet does not provide any notion like TTL in order to eventually remove looping frames• Reduce bridge topology to a single spanning tree– Trees have no cycles ⇒ loop-free– Automatically reconfigure the spanning tree in a reproducible and predictable manner3Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3LAN ALAN BLAN CLAN DNetwork Diagram4Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCD• Each bridge has a unique Bridge ID = unique device ID + priority number• Within each bridge, each port has a unique ID11112222111122221111222233331111111122222222Spanning Tree ProtocolRequired Elements5• Assign a cost to the segments between any two bridges (can be custom, unlike in lecture, where we used uniform cost)Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCD11112222111122221111222233331111111122222222Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3cBcCcDcDcDcCcCcAcAcASpanning Tree ProtocolRequired Elements6111122221111222211112222333311111111222222221. Elect a root bridgea) Compare Bridge ID (compare priority number then compare unique ID)2. Each bridge selects a root port: the port with the least cost path to the rootBridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3cBcCcDcDcDcCcCcAcAcACostscA- 100cB- 19cC- 4cD- 100Bridge 1Spanning Tree Protocol27111122221111222211112222333311111111222222222. Each bridge selects a root port: the port with the least cost path to the roota) Break ties by picking neighbor w/ lowest IDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3cBcCcDcCcABridge 1CostscA- 100cB- 19cC- 4cD- 100BridgeRootPort12 13 34 25 1Spanning Tree Protocol8111122221111222211112222333311111111222222223. All bridges on the network segment collectively determine least cost path from network segment to roota) The port that connects the network segment to the bridge that provides this path is called the designated portBridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3cBcCcDcACostscA- 100cB- 19cC- 4cD- 100Bridge 1BridgeRootPortDesgn.Port12 13 34 25 1BridgeRootPortDesgn.Port1 1,22 1 23 34 25 1Spanning Tree Protocol9BridgeRootPortDesgn.Port1 1,22 1 23 34 25 1BridgeRootPortDesgn.Port1 1,22 1 23 3 24 25 111112222111122221111222233331111111122222222a) The port that connects the network segment to the bridge that provides this path is called the designated porti. Break ties by picking bridge w/ lowest IDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCDBridge 1Bridge 5Bridge 2Bridge 4Bridge 3cBcCcDcACostscA- 100cB- 19cC- 4cD- 100Bridge 1Spanning Tree Protocol10Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCD4. If there’s still a tie for any of the above, pick the lowest port #11112222111122221111222233331111111122222222BridgeRootPortDesgn.Port1 1,22 1 23 34 25 1BridgeRootPortDesgn.Port1 1,22 1 23 3 24 25 1CostscA- 100cB- 19cC- 4cD- 100Spanning Tree Protocol11Bridge 1Bridge 5Bridge 2Bridge 4Bridge 3ABCD5. Now any time frames require broadcasting, a bridge only accepts them from a designated or a root port …6. … and only floods to other root or designated ports11112222111122221111222233331111111122222222BridgeRootPortDesgn.Port1 1,22 1 23 34 25 1BridgeRootPortDesgn.Port1 1,22 1 23 3 24 25 1CostscA- 100cB- 19cC- 4cD- 100Spanning Tree


View Full Document

Berkeley ELENG 122 - Spanning Tree Protocol

Documents in this Course
Lecture 6

Lecture 6

22 pages

Wireless

Wireless

16 pages

Links

Links

21 pages

Ethernet

Ethernet

10 pages

routing

routing

11 pages

Links

Links

7 pages

Switches

Switches

30 pages

Multicast

Multicast

36 pages

Switches

Switches

18 pages

Security

Security

16 pages

Switches

Switches

18 pages

Lecture 1

Lecture 1

56 pages

OPNET

OPNET

5 pages

Lecture 4

Lecture 4

16 pages

Ethernet

Ethernet

65 pages

Models

Models

30 pages

TCP

TCP

16 pages

Wireless

Wireless

48 pages

Load more
Download Spanning Tree Protocol
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Spanning Tree Protocol and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Spanning Tree Protocol 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?