交换机生成树协议

发布时间 : 星期四 文章交换机生成树协议更新完毕开始阅读

2010级毕业设计(论文)

交换机生成树协议

院 系:信息工程系 专 业:网络技术 学 生 姓 名:谢 高 云 指 导 教 师:王 浦 衡

湖南化工职业技术学院

2013年 5 月

摘 要

生成树协议(Spanning Tree Protocol STP)是用于局域网中消除数据链路层物理环路的协议。运行该协议的交换机通过彼此交互报文发现网络中的环路并有选择性的对某些端口进行阻塞最终将环路网络结构修剪成无环路的树型网络结构从而达到消除二层环路的目的。STP的缺点是收敛速度慢为解决这一缺陷RSTP应运而生。快速生成树协(Rapid Spanning Tree Protocol RSTP)在STP的基础上缩短了转发延时可以快速收敛但是和STP一样局域网内所有交换机共享一棵生成树不能解决链路负载分担的问题多生成树协议(Multiple Spanning Tree Protocol MSTP)可以弥补这一缺陷它既可以快速收敛也能使不同VLAN的流量沿各自的路径转发从而为冗余链路提供了更好的负载分担机制。本论文论述了STP RSTP和MSTP的产生背景和发展基本概念和原理以及它们各自的缺陷并针对这些问题提出了自己的见解。

关键词:生成树协议、快速生成树协议、虚拟局域网、多生成树协议。

I

ABSTRACT

Spanning Tree Protocol (Spanning Tree Protocol STP) is used for LAN data link layer to eliminate the physical loops in the agreement. Switch by running the protocol packets that the network interact with each other in the loop, and selectively blocking certain ports, and ultimately into the loop network loop-free tree pruning the network structure, to achieve the elimination of two layer loop purposes. STP drawback is slow convergence, to address this shortcoming, RSTP came into being. RSTP (Rapid Spanning Tree Protocol RSTP) in the STP, based on the forwarding delay can be shortened fast convergence, however, and STP, as all the switches share 、a LAN spanning tree, load-sharing link can not solve the problem of MSTP (Multiple Spanning Tree Protocol Multiple Spanning Tree Protocol) can fill this gap, both for fast convergence, but also make different VLAN traffic along their path forward, so as to redundant links to provide a better load-sharing mechanism. This paper discusses the background and development of the STP, RSTP and MSTP, basic concepts and principles, and their respective deficiencies and address these issues put forward their own views.

Keyword:Spanning Tree Protocol、Rapid Spanning Tree Protocol、VLAN、Multiple Spanning Tree Protocol

II

前 言

在实际的交换网络中,为了提高整个网络的可靠性、消除单点失效故障,通常在网络设计中采用多台设备、多个端口、多条线路的冗余连接方式。但是这样的拓扑结构会导致二层环路的产生。如果交换机不对二层环路做处理,将会导致严重的网络问题。如:广播风暴、帧的重复复制、交换机的MAC地址漂移等问题。生成树协议就是为了解决二层环路而产生的。STP能够自动发现冗余网络拓扑中的环路,保留一条最佳链路做转发链路,阻塞其他冗余链路,并且在网络拓扑结构发生变化的情况下重新计算,保证所有的网段的可达且无环路。STP协议和其它网络协议一样,是随着网络的不断发展而不断更新换代的。最初被广泛应用的是IEEE802.1d版本,随后又出现了IEEE802.1w RSTP协议和IEEE802.1s MSTP协议。RSTP协议提供了端口状态的快速转换功能,使网络拓扑的收敛时间大大减少。MSTP协议在RSTP协议的基础上引入了域和实例的概念。首先将网络中不同的桥设备及其VLAN划分为不同的域,在域内设定各个VLAN到生成树实例的映射关系,这样既提供了快速收敛能力,同时也在域内对网络冗余的网络带宽进行了有效应用。MSTP具有LVAN认知能力:可以实现负载均衡,实现类似RSTP的端口状态快速切换,可以捆绑多个VLAN到一个实例中以降低资源占用率,可以很好的兼容STP/RSTP协议。因此MSTP协议能够成为当今生成树发展的一致方向是当之无愧的。然而,随着应用的深入,各种新的二层隧道技术不断涌现。例如Cisco的802.1q Tunneling。今后生成树协议该如何发展,又需要我们积极的去探索研究了。

IV

联系合同范文客服:xxxxx#qq.com(#替换为@)