STP chenshh Why STP? Computer Center, CS, NCTU 2 Computer - - PowerPoint PPT Presentation

stp
SMART_READER_LITE
LIVE PREVIEW

STP chenshh Why STP? Computer Center, CS, NCTU 2 Computer - - PowerPoint PPT Presentation

STP chenshh Why STP? Computer Center, CS, NCTU 2 Computer Center, CS, NCTU Problems 1.Broadcast Storms 2.Mac-Table Inestability 3.Multiples copies of frames 3 Computer Center, CS, NCTU Basic STP (802.1d) Before we start we need talks


slide-1
SLIDE 1

STP

chenshh

slide-2
SLIDE 2

Computer Center, CS, NCTU

2

Why STP?

slide-3
SLIDE 3

Computer Center, CS, NCTU

3

Problems

1.Broadcast Storms 2.Mac-Table Inestability 3.Multiples copies of frames

slide-4
SLIDE 4

Computer Center, CS, NCTU

4

Basic STP (802.1d)

Before we start we need talks about these 1.Bridge Protocol Data Unit(L2) 2.Bridge ID

slide-5
SLIDE 5

Computer Center, CS, NCTU

5

BPDU

1.L2 -> MAC Address 2.Sent to a specail multicast address 01:80:C2:00:00:00

slide-6
SLIDE 6

Computer Center, CS, NCTU

6

Bridge ID

Generate by switch macs and its prioriy The default priority is 32768

slide-7
SLIDE 7

Computer Center, CS, NCTU

7

How STP works?

1.Root Bridge Election 2.Set port state

slide-8
SLIDE 8

Computer Center, CS, NCTU

8

Root Bridge Election Passing BPDUs,Choosing the smallest bridge id as root bridge.

slide-9
SLIDE 9

Computer Center, CS, NCTU

9

Set port role

Three roles: Root port Designated port Block port

slide-10
SLIDE 10

Computer Center, CS, NCTU

10

Calculate Costs

We want the cost to root be minimal! Set the right root port1

slide-11
SLIDE 11

Computer Center, CS, NCTU

11

Setting states

slide-12
SLIDE 12

Computer Center, CS, NCTU

12

Setting states

slide-13
SLIDE 13

Computer Center, CS, NCTU

13

Some tips

Who is root is important!

slide-14
SLIDE 14

Computer Center, CS, NCTU

14

Some Issues

1.When changing states temporary cycles may appear. 2.Using timeouts is slow.

slide-15
SLIDE 15

Computer Center, CS, NCTU

15

Set port state

Five States: Blocking Listening Learning Forwarding Disabled Each transitions between state cost several seconds Will not generate loops!

slide-16
SLIDE 16

Computer Center, CS, NCTU

16

RSTP (802.1w)

Minify response time to several seconds Compatibility of STP

slide-17
SLIDE 17

Computer Center, CS, NCTU

17

More roles

Root Designated Alternative Backup Disabled Edge

slide-18
SLIDE 18

Computer Center, CS, NCTU

18

VLAN Issues

slide-19
SLIDE 19

Computer Center, CS, NCTU

19

Cisco’s PVST

One VLAN One STP 802.1q tagged modified BDPU

slide-20
SLIDE 20

Computer Center, CS, NCTU

20

Cisco’s PVST+

Run STP at VLAN 1 Run PVST at others Compatibility of STP/RSTP

slide-21
SLIDE 21

Computer Center, CS, NCTU

21

Cisco’s Rapid-PVST+

Add RSTP features

slide-22
SLIDE 22

Computer Center, CS, NCTU

22

Some Issues

One VLAN -> One STP Hundreds VLAN -> Hundreds STP Massive PVST BPDUs on the networks Massive Calculations And these are cisco’s protocol not well supported on other manufacturers’ products

slide-23
SLIDE 23

Computer Center, CS, NCTU

23

MSTP

MST Region MST Instance CIST

slide-24
SLIDE 24

Computer Center, CS, NCTU

24

MST Region

Looks like a switch from outside

slide-25
SLIDE 25

Computer Center, CS, NCTU

25

MST Instances

slide-26
SLIDE 26

Computer Center, CS, NCTU

26

CIST

CST & IST Common and Internal Spanning Tree Contacting multiple regions and compabiliy of STP/RSTP