The Design and Implementation of Layer 3 Switch Software
- Author
- LiYanBing
- Advisor
- MaYue
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 237
- Citations
- 1
Abstract
Layer 3 switch, with the all characteristics of layter 2 switch, can switch IP packets in line speed according to destination IP address. It is possible to construct high speed, high performance and large scale LAN with layer 3 switch network devices. With the development of ASIC technology, Layer 3 switch has the higher performance and the lower price. Currently, layer 3 switch network devices have spread from the core of network to the edge of network. It occupys a large part of network devices market.Based on the hardware design and implementation of the layer 3 switch, a device driver for the layer 3 switch has been developed. The rapid spanning tree protocol has been implemented in the application environment of the layer 3 switch. Base on the study of stacking protocol, a private stacking protocol for VANLINK has been submitted.The device driver of layer 3 switch is responsible for controlling the functions of the hardware, such as device I/O, initialization, and functions from the physical layer to application layer, etc. Simultaneously, the device driver interacts with the up layer software, and provides services for them.Spanning tree protocol is a very important protocol in switching LAN, especially in a large scale switching LAN. There might be a disaster in a large scale switching LAN without spanning tree protocol. Compare to the IEEE 802.1D spanning tree protocol, the rapid spanning tree protocol has been improved in the constringency speed. The rapid spanning tree protocol can perfectly satisfy the need of current networks.Stacking technology can increase the density of the switch ports and reduce the difficulty of network management. But there is no standard stacking protocol. Some famous network device providers have designed
Table of contents
The first chapter 8-12
1.1 introduction of the third layer switching technology 8
the 1.2 third layer switching technology trends 8-9
1.3 the third layer switching technology 9-10
1.4 of this thesis work 10-12
Chapter II system structure 12 - 16
2.1 hardware system structure 12-14
2.2 software system structure the 14-16 the 2.2.1 software systems
overall structural 14 <br / the> 2.2.2 drivers Structure 14-16
Chapter Driver Design and Implementation 16-38
3.1 device input, output and switch initialization 16-19
3.1.1 PCI interface 16
3.1.2 message mechanism the 16-17 3.1.3 ARL operation
17 < br /> 3.1.4 frame data transmission the counter data transmission 17-18
3.1.5 18
3.1.6 switch initialization 18-19 < br /> 3.2 physical layer the 19-21 3.2.1 access PHY registers
the 3.2.2 physical layer functions 19-20
20-21 <br / > 3.3 data link layer 21-28
3.3.1 second layer exchange 21-22
3.3.2 CoS manage, 22-23 <br / > 3.3.3 HOL blocking 23
3.3.4 backpressure mechanism 23-24
3.3.5 packet rate control 24
3.3. 6 port mirroring 24
3.3.7 port binding 24-26
3.3.8 IEEE 802.1Q VLAN support 26-27
3.3. 9 IEEE 802.1D Spanning Tree Protocol support 27-28
3.4 layer switching 28-33
3.4.1 hardware support 28-29 <br / > 3.4.2 imaginary interface the 29-30 3.4.3 routing table management
30
3.4.4 IP address learning 30-32
3.4.5 The third layer exchange process flow the 32-33 3.4.6 routing table aging treatment
33
3.5 FFP 33-37
the 3.5.1 packet filtering the 33-34
3.5.2 traffic Determination 34-35
3.5.3 QoS 3.5.4 access 35
control 35
3.5.5 Differentiated Services 35-37
3.6 Summary 37-38
Chapter Rapid Spanning Tree Protocol to achieve 38-55
4.1 Spanning Tree Protocol Introduction 38-39
4.2 Rapid Spanning Tree Protocol basic principle 39-45
4.2.1 basic concepts 39-40
4.2.2 BPDU 40-43
4.2.3 calculate the network topology the 43-44
4.2.4 fast forwarding 44-45
4.2.4 topology changes 45
4.3 Rapid Spanning Tree protocol state machine the 45-54 4.3.1 port
the timer state machines 46
4.3.2 port information state machine 46-47
4.3.3 port role selection state machine 47-48
4.3.4 port role conversion status machine 48-51
4.3.5 port status conversion state machine 51-52
4.3.6 topology change state machine 52-53
4.3 .7 port protocol migration state machine 53-54
4.3.8 port to transfer state machine 54
4.4 Summary 54-55
Chapter the private stacked Vanlink proposed agreements 55-65
5.1-stack basis of 55-58
5.1.1 the single workers Stacking 55
5.1.2 the duplex stacking 55-56
5.1.3 data packet transmission in the stacking system 56-57
5.1.4 stack protocol nbsp the; 57-58
5.2 device discovery protocol 58-61
5.2.1 frame structure the 58-59 5.2.2 works
59-60
5.2 .3 state machine the 60-61
5.3 Transfer Protocol the 61-63 frame structure
5.3.1 61-62
5.3.2 works 62
5.3.3 protocol performance analysis 62-63
5.4 application stack 63-65
5.4.1 Spanning Tree Protocol nbsp the; 63
5.4.2 port binding 63
5.4.3 console application 63-65 the
Ref. 65-66 <br / > Acknowledgements 66-67
studying for a master's degree during the academic 67
Related dissertations
- Design of Security Surveillance System Based on Intelligent Video Analysis
- Research on the Embedded Control System of Fed-Batch Culture in the Production of Monosodium Glutamate
- Real-time Operating System Customization of Linux and Development of Device Driver
- Research and Implementation of Usbtmc Specification about Universal Test Instrument
- Research and Development of Bottom Software of Inkjet Printer System Based on Embedded Linux
- Radio Monitoring and Direction-finding System Software Development
- Design and development of laser gyro and USB interface frequency test system
- Study on Data Acquisition and LCD Display System of5kW Photovoltaic Inverter System
- The Research of Transformer Fault Diagnosis Based on Combining Multiple Classifiers
- Research of Integrated Scheduling Algorithm Based on Dynamic Essential Short Path by Device Driver
- Computer Simulation for Moving Precipitation Boundary (MPB) and Its Preliminary Application
- Generation and Count of Spanning Trees in Special Graphs
- Research of Inventory Strategy of Agriculture Product Distribution Centre
- Research and Design of Online Monitoring System of Metal Sawing Machine Saw Blade Displacement
- Design of Embedded 8 Channels High Speed Data Acquisition System
- Based ARM Rotating Machinery Data Acquisition and Analysis System
- Communication Controller Design Base on Embedded Linux System
- Based on the CANopen protocol and the realization of the automobile instrument from the nodes of the study
- Design and implementation of remote control system based on Embedded Intelligent Home Furnishing
- Research and Realization of Software of Monitoring and Control of Smart Home System of IoT Based on Configuration Software