The Design of Hot Standby and the Implementation of Link Aggregation of Ethernet Switch
- Author
- SuDaZhong
- Advisor
- LiChengZhong
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP393.11 Ethernet
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 200
- Citations
- 4
Abstract
Device that used in the communication network must be available in a long time. In telecom field, availability of system must be larger than 99.999%. Which means a system must be tolerable of faults and can be maintained and upgraded without interrupt service. From the aspect of software, high availability revolves mainly around faults recovery. Any a device is hardly to satisfy the need of high availability, so standby technology is presently the main technology to improve the availability of system which means a device(mater device) is in run status while another device(slave device ) is in standby status. The slave device does not deal with service packets, what it does is just receive the message which master device sending to him. While something is wrong with the master device, the slave device can replace it quickly. Using standby technology will make service of communication network do not halt in a long time.Presently, all devices used in the core net of domestic telecom are importation, which is not only a serious economic problem, but a problem which endanger the national information safety. Based on the status, this thesis give a design of hot standby of Ethernet switch and the implementation of link aggregation; detailedly describe the key questions of hot standby and the flow of master-slave synchronization -. master-slave hot swap; several kinds of synchronization and smoothness are presented also. Which kind of synchronization and smoothness method adopted is up to module. As soon as the module of link aggregation is concerned, we can only adopt the "independent event" mode to process synchronization. In the implementation of link aggregation, introduce the function of link aggregation in brief; detailedly demonstrate the design of data structure, interface between link aggregation with other modules and subroutine.In the project, the work completed by the author is as follow:1. Coding and test of the port poll module2. Part of the summary design detail design, coding and test of the hot standby module3. Summary design, detail design, coding and test of the link aggregation module4. Integration test of system with his colleagues.
Table of contents
The first chapter 10-12
1.1 Status 10-11
1.2 Background and research topics 11
1.3 papers organizational structure 11-12
Chapter basics 12-28
2.1 computer network architecture 12-13
2.1.1 computer Networks and Distributed Systems distinction 12
2.1.2 open Systems interconnection Reference Model (0SI/RM) 12-13
2.2 the principle of switching technology overview 13-16
2.2.1 sharing technology 13-14
2.2.2 switching Technology 14 - 15
2.2.3 layer 2 switching technology 15
2.2.4 The third layer switching technology 15-16
2.3 layer exchange of the four basic agreement 16-17
2.3.1 spanning Tree Algorithm (STP) 16
2.3.2 IEEE802.1Q 16
2.3.3 IEEE802.1D bridge function and operation principle 16
2.3.4 IEEE802.3ad TRUNK concepts and operating principles 16-17 < br /> 2.4 chip features 17
2.4.1 spanning Tree Protocol 17
2.4.2 802.3ad link aggregation 17
2.5 VLAN and packet forwarding process 17-28
2.5.1 VLAN concepts 18
2.5.2 Related concepts 18-20
2.5.3 VLAN role 20-21
2.5.4 VLAN implementation 21-23
2. 5.5 Layer forwarding process 23-25 ??
2.5.6 Layer 3 forwarding process 25-28
Chapter hot backup overall design 28-42
3.1 hardware and software architecture 28-30
3.2 in hot backup systems need to consider 30-32
3. 2.1 master and slave election 31
3.2.2 each state get 31
3.2.3 hold coordinated properly 31
3.2.4 recovery 31
3.2.5 fault Monitoring 31
3.2.6 state Synchronization 31-32
3.2.7 smoothing 32
3.3 hardware architecture design 32
3.4 software architecture design 32-33
3 .5 behavioral design 33-37
3.5.1 MPU card state machine 33-35
3.5.2 master and slave election process 35 -37
3.5.3 master-slave switchover process 37
3.6 hot backup of some of the key technologies 37-42
3.6. a concept 37-38
3.6.2 states synchronously 38-40
3.6.3 smoothing the way 40-42 < br /> Chapter link aggregation principle 42-52
4.1 link Aggregation protocol Overview 42
4.2 goals and objectives 42 -43
4.3 concepts and principles 43-45
4.3.1 Link Aggregation principle 43-44
4.3.2 LAC concept and principles 44-45
4.3.3 identifies 45
4.4 works 45-49
4.4.1 LA sublayer 45-47
4.4.2 LACP (Link Aggregation Control Protocol) 47-49
4.5 AGGREGATOR workflow 49-50 < br /> 4.5.1 receiving MAC layer frame 49
4.5.2 requires entities to send MAC Client frames transmitted 49-50
4.6 MARKER agreement 50
4.7 other 50-52
4.7.1 operating values ??dynamically allocated 50
4.7.2 selection Mechanism the two measures 50
4.7.3 for a given session different ports dynamic reallocation measures 50-52
Chapter link aggregation to achieve 52-89
5.1 concept 52
5.2 system design some basic requirements 52-56
5.2.1 byte align 52-53
5.2.2 module Low coupling and high cohesion 53-55
5.2.3 high efficiency 55 <br / > 5.2.4 function reentrant 55-56
5.3 specification 56-57
5.3.1 TRUNK features 56
5.3.2 other 56-57
5.4 structural design 57-60
5.4.1 module Initialization Interface 58
5.4.2 Shell command processing interface 58
5.4.3 IDB Interface 58-59
5.4.4 ag event interface 59
5.4.5 HA call Interface 59
5.4.6 AG AP sends packets to adjust the interface 59
5.4. 7 state synchronization with smooth 59-60
5.5 behavioral design 60-62
5.5.1 initialization process 60
5. 5.2 NMS create, update TRUNK process 60-61
5.5.3 NMS delete TRUNK process 61-62
5.6 TRUNK module interfaces with external 62-67
5.6.1 and HA module interface 62-64
5.6.2 and port state management module interface 64-65
5.6.3 IDB interface with the MIB database design 65-67
5.7 data structure design 67-72
5.7.1 TRUNK port mapping table 67
5.7.2 port device mapping table 67
5.7.3 AG, AP binding structure description 67 - 68
5.7.4 shadow table structure design 68
5.7.5 configuration rules structural design 68-69
5.7.6 global variables and debug debugging design 69
5.7.7 semaphore definition 69-71
5.7.8 TRUNK synchronization packets design 71-72
5.8 subroutine design 72-89
5.8.1 TRUNCK core 72-77
5.8.2 AG and AP relationship 77-78
5.8.3 IDB Interface 78-80
5.8.4 SHELL and script processing 80-81 < br /> 5.8.5 AG event 81-84
5.8.6 state Synchronization 84-87
5.8.7 hardware Settings Interface 87-89
Chapter VI test 89-99
6.1 test environment 89
6.2 TRUNK module test content , procedures and results analysis 89-97
6.2.1 using the wrong port lists Create TRUNK 89
6.2.2 balancing algorithm with error code creates 89-90
6.2.3 with the correct input to create TRUNK 90-91
6.2.4 update TRUNK 91
6.2.5 deleted does not exist the TRUNK 91-92
6.2.6 delete an existing TRUNK 92-94
6.2.7 port UP / DOWN 94-95 < br /> 6.2.8 thermal pull the line card 95-96
6.2.9 hot-plug line card 96
6.2.10 protocol packets sent 96-97
6.3 HA module test content , procedures and results analysis 97-99
6.3.1 master and slave election 97 <br / > 6.3.2 fully synchronized 97-98
6.3.3 thermal switch 98
6.3.4 real-time synchronization with hot 98
6.3.5 fault Monitoring 98-99
Conclusion 99-100
Thanks 100-101
References 101-104
papers published during the master's degree and participating in research work 104
Related dissertations
- The Research and Implementation of the Automatic Learning Method of VLAN in Ethernet
- The Research on the Performance Test and Application of Mine Ethernet Switch
- Research on Traffic Management and Optimization in Data Center Networks
- Hardware Design and Implementation of Train Ethernet Switch
- Research and Implementation based on the MSTP link- aggregation
- The Design and Implementation of the Software Platform for Gigabit Ethernet Switches
- Technical Study of Concentrator in HFC Broadband Access Network
- Exchange structure and its scheduling and bandwidth allocation algorithm
- Simulation and implementation of a Windows - based Ethernet switch
- A New Cluster Management Scheme on Ethernet
- Launch Plan for New Product Ethernet Switch
- The Technology of Gigabit Ethernet and the Implementation of Gigabit Ethernet Switcher
- The Research and Application of Ethernet Switch Network Protocol Stack
- The TDMoIP a program -E1 emulation card
- SNMP-based Managed Ethernet Switch Design and Implementation
- STUDY AND IMPLEMENTATION ON VTX1100 HomePNA Ethernet Switcher
- Ethernet switch design and development of diagnostic functions
- Broadband multi- service access platform design and implementation
- The Design of Integrated Access System Based on Ethernet
- Based on Industrial Ethernet multi-system design and development of data communications