Professional Documents
Culture Documents
Bridges STP
Bridges STP
&
Spanning Tree Protocol (STP)
Bhaskar Reddy
bhaskarr@ipinfusion.com
Confidential
© 2010 IP Infusion Inc. All rights reserved.
1
Section: Bridges
What is a Bridge?
Bridges on Ethernet
Switched Ethernet
Types of Bridges
Confidential
© 2010 IP Infusion Inc. All rights reserved.
2
What is a Bridge?
Confidential
© 2010 IP Infusion Inc. All rights reserved.
3
Ethernet Switch.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
4
Contd..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
5
Types of Bridges.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
6
Transparent Bridging
Learning
Flooding
Filtering
Forwarding
Aging
Confidential
© 2010 IP Infusion Inc. All rights reserved.
7
A unicast example
Confidential
© 2010 IP Infusion Inc. All rights reserved.
8
Section: SPT
Confidential
© 2010 IP Infusion Inc. All rights reserved.
9
Scenario (Loops in a Network)
Confidential
© 2010 IP Infusion Inc. All rights reserved.
10
Why do we have loops in the first place?
• Deliberate(Redundancy)
• Accident
Confidential
© 2010 IP Infusion Inc. All rights reserved.
11
Roger That (Then lets remove those loops)
Confidential
© 2010 IP Infusion Inc. All rights reserved.
12
Entities..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
13
Key Concepts
Bridge ID (BID)
Port ID
Path Cost : Indicates how close they are to other Bridges. The
faster the link, the lower the cost.
IEE90a: Link Cost= 1000/Data Rate Mb/s
IEEE98a : Modified Link Cost algrithm
Confidential
© 2010 IP Infusion Inc. All rights reserved.
14
Path cost (contd..)
Confidential
© 2010 IP Infusion Inc. All rights reserved.
15
The 4-step decision sequence
Every port will save a copy of the best BPDU seen on that
port. If a new BPDU arrives this four step sequence is used to
decide if the existing BPDU (previously stored) should be
discarded and the new one saved.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
16
Initial STP convergence
Confidential
© 2010 IP Infusion Inc. All rights reserved.
17
Elect one Root Bridge(Root War)
Confidential
© 2010 IP Infusion Inc. All rights reserved.
18
Contd..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
19
Elect Root Ports
Confidential
© 2010 IP Infusion Inc. All rights reserved.
20
Elect Designated Ports
Confidential
© 2010 IP Infusion Inc. All rights reserved.
21
Review the convergence procedure
Confidential
© 2010 IP Infusion Inc. All rights reserved.
22
Port Roles
Confidential
© 2010 IP Infusion Inc. All rights reserved.
23
Five Port states
Confidential
© 2010 IP Infusion Inc. All rights reserved.
24
Example..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
25
Steady State..
Once every Hello Time, Root Bridge send outs BPDUs through
the desginated ports.
The Designated Bridges after receiving these BPDUs, update
them (modify Root Path cost, Bridge ID, Port ID) and send out
them on their Designated Ports. (Goes upto the leaf Bridges).
All the Bridges receive these BPDUs.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
26
Configuration Update
Confidential
© 2010 IP Infusion Inc. All rights reserved.
28
Three STP timers
Confidential
© 2010 IP Infusion Inc. All rights reserved.
29
Two Types of BPDUs
Confidential
© 2010 IP Infusion Inc. All rights reserved.
30
Configuraton BPDU
Confidential
© 2010 IP Infusion Inc. All rights reserved.
31
Fields..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
32
TCN BPDU
Confidential
© 2010 IP Infusion Inc. All rights reserved.
33
Topology Change Process
Confidential
© 2010 IP Infusion Inc. All rights reserved.
34
Lets appreciate TCN BPDUs
Confidential
© 2010 IP Infusion Inc. All rights reserved.
35
Yeah…Awesome..
When the TC (Topology Change) flag is set by the Root, all the
bridges have to change their ageing time from
300seconds(default) to 15seconds.
The TCN BPDU reduced the failover time from 5 minutes to 50
seconds. (How?)
Confidential
© 2010 IP Infusion Inc. All rights reserved.
36
When is a TCN BPDU transmitted?
Protocol recap:
The bridge notifies the root bridge of the spanning tree.
The root bridge "broadcasts" the information into the whole
network.
Very important:
TCNs are a consequence of topology change, not a cause.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
37
A Real world network example
Confidential
© 2010 IP Infusion Inc. All rights reserved.
38
Active Topology and N/W Admin
Confidential
© 2010 IP Infusion Inc. All rights reserved.
39
Extensions.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
40
Questions..
Confidential
© 2010 IP Infusion Inc. All rights reserved.
41
References
Confidential
© 2010 IP Infusion Inc. All rights reserved.
42
Videos
Confidential
© 2010 IP Infusion Inc. All rights reserved.
43
Thank you.
Confidential
© 2010 IP Infusion Inc. All rights reserved.
44