Research and Improvement of Count-to-infinity in Rapid Spanning Tree

Author
HuangZhiHui
Advisor
ZhouJie , DengXiaoDan
School
South China University of Technology
Major
Software Engineering
Classification
TP393.04 Communication protocols, communication protocols
Degree
Master's thesis
Year
2011
Downloads
25
Citations
0

Request the full text

Abstract

As the heterogeneity of network equipment and defects in design of network protocol, research of network management and improvement of protocol algorithm has much theoretical and practical significance. Spanning Tree Protocol is one of the basic protocols for the network equipment in OSI Layer 2.The physical topology connected by the bridges allows loops to provide alternate paths for varied incidents, making the network strong and robust.When broadcasting in Layer 2,Data frames continues to be forwarded in the loops and becomes the broadcast storm which disables the network.Spanning Tree Protocol, STP controls the state of the ports in the bridge providing the logical tree with no loops for the physical network.Data frames can go along the tree which sovles the problem of broadcast storm.STP has a defect that it takes long time to constring. Rapid Spanning Tree Protocol, RSTP, defines new roles for the ports.Designated Ports can transitions to forwarding after the handshake with its children bridges in the point-to-point link.Edge Ports connected with the hosts can transitions to forwarding immediately. RSTP just resolves the problem of long constringency in STP.But the contest race between the RSTP state machines leads to a tempory loop after the count-to-infinity problem in tens of seconds during which congestions can be sharply increased and data frams are forwarded incorrectly.My main work is as follows:1. Reserach the basic theory of RSTP .I focus on 3 citical state machines, Port Role Selection machine, Port Role Transition machine and Port State Trantion machine,and analyze the detailed conditions with which it transitions from one state to another.2. Introduce the count-to-infinity problem in RSTP. Analyze the conditions under which it presents and how it leads to a temporary loop.Then propose a solution for improvement, RSTP with Sequences, to relove the problem.3. Design and implement RSTP with Sequences base on RSTP module and test.

Table of contents

Summary 5-6 Abstract 6-10 first chapter 10-13 1.1 Background and Significance 10 - 11 1.2 research status 11-12 1.3 research organizational structure 12 1.4 papers 12-13 Article principle two chapters of RSTP 13-32 2.1 RSTP basic concepts of 13-14 types and transmission timing 2.2 BPDU of 14 2.3 computing spanning vector 14-17 2.3.1 port role 14-16 2.3.2 spanning Tree priority vectors 16-17 2.4 changes in port status 17-20 2.4.1 STP traditional way 18 2.4.2 RSTP root port mode 18 2.4.3 \timer state machine (PTI) 21-22 2.6.2 port information state machine (PIM) 22-23 2.6.3 port role selection state machine (PRS) 23-24 2.6.4 port role reversal state machine (PRT) 24-28 2.6.5 port state Transition state machine (PST) 28 - 29 2.6.6 topology change state machine (TCM) 29-30 2.6.7 port protocol migration state machine (PPM) 30 2.6.8 port transmit state machine (PTX) 30-31 2.7 Summary endless counting problems and improve nbsp 31-32 Chapter RSTP protocol ; 32-50 < br /> 3.1 RSTP in the count to infinity problem produce conditions 33-36 3.2 RSTP in the count to infinity problem 36-40 3.3 improved RSTP protocol 40-49 3.3.1 serial number field to increase the BPDU 41-42 3.3.2 using bridge two serial numbers 42-44 3.3.3 increase the serial number RSTP protocol 44-48 3.3.4 is compatible with traditional bridge 48 3.3.5 RSTP protocol with the traditional comparison 48-49 3.4 Summary achieve 49-50 increase in the fourth chapter of the serial number RSTP protocol 50-72 4.1 RSTP module overall structure 50-60 nbsp 4.1.1 RSTP module interacts with the external module ; 50-51 4.1.2 RSTP module 51-54 4.1. three main data structure introduced achieve 54-60 4.2 serial number increased RSTP protocol issues 60-71 4.2.1 improved involved 61 <br / > 4.2.2 modify the basic data structure nbsp 61-63 4.2.3 BPDU serial number of operations ; modify 63-64 4.2.4 port information state machine 64-69 4.2.5 port role choose to modify the state machine 69-70 modify 4.2.6 port transmit state machine 70-71 4.3 Summary testing Chapter increase 71-72 serial number RSTP protocol 72-78 5.1 testing program 72-73 5.2 comparison test 73-77 5.2.1 complete graph topology test 73-74 5.2.2 special topology test 74-76 5.2 .3 ring topology test 76-77 5.3 Summary 77-78 conclusion 78-79 References 79 -81 Thanks 81

Related dissertations

  1. Investigation of Data Traffic Robustness Based on Mesh MSTP Network
    ChenGuiDong ·Shanghai Jiaotong University ·2007 ·Master's thesis
  2. Ethernet Ring Protection Protocol (STP) of