1 / 11

高级交换技术

高级交换技术. STP 和 RSTP 存在的问题. 交换机 A 和 B 在主链路正常的情况下可以访问,但当主链路出现故障时,交换机 A 无法通过 C 访问 B 。. A. C. VLAN1. VLAN2. VLAN2. B. D. VLAN1. VLAN2. MSTP 技术. 802.1s(MSTP) 基于 VLAN 的生成树协议,能够实现快速收敛 MSTP 可以实现链路的负载均衡,充分利用备份链路,不浪费网络带宽。. 既避免了环路的产生,也能让相同 vlan 间的通讯不受影响. A. C. VLAN1. VLAN2. B. D. VLAN1.

Download Presentation

高级交换技术

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 高级交换技术

  2. STP和RSTP存在的问题 • 交换机A和B在主链路正常的情况下可以访问,但当主链路出现故障时,交换机A无法通过C访问B。 A C VLAN1 VLAN2 VLAN2 B D VLAN1 VLAN2

  3. MSTP技术 • 802.1s(MSTP) • 基于VLAN的生成树协议,能够实现快速收敛 • MSTP可以实现链路的负载均衡,充分利用备份链路,不浪费网络带宽。 既避免了环路的产生,也能让相同vlan 间的通讯不受影响 A C VLAN1 VLAN2 B D VLAN1 VLAN2 Mst region 1 Mst region 2 CST

  4.     MSTP的特点 • MSTP设置VLAN映射表(即VLAN和生成树的对应关系表),把VLAN和生成树联系起来。通过增加“实例”(将多个VLAN整合到一个集合中)这个概念,将多个VLAN捆绑到一个实例中,以节省通信开销和资源占用率。 • MSTP把一个交换网络划分成多个域,每个域内形成多棵生成树,生成树之间彼此独立。 • MSTP将环路网络修剪成为一个无环的树型网络,避免报文在环路网络中的增生和无限循环,同时还提供了数据转发的多个冗余路径,在数据转发过程中实现VLAN数据的负载分担。 • MSTP兼容STP和RSTP。

  5. MSTP术语 • MST域:是由交换网络中的多台设备以及它们之间的网段所构成。这些设备具有下列特点: • 都启动了MSTP; • 具有相同的域名; • 具有相同的VLAN到生成树实例映射配置; • 具有相同的MSTP修订级别配置; • 这些设备之间在物理上有链路连通。 • 一个交换网络可以存在多个MST域。用户可以通过MSTP配置命令把多台设备划分在同一个MST域内。

  6. MSTP术语 • VLAN映射表 • VLAN映射表是MST域的一个属性,用来描述VLAN和生成树实例的映射关系。 • 域A0的VLAN映射表就是:VLAN 1映射到生成树实例1,VLAN 2映射到生成树实例2,其余VLAN映射到CIST。MSTP就是根据VLAN映射表来实现负载分担的。

  7. MSTP术语 • IST • IST(Internal Spanning Tree,内部生成树)是MST域内的一棵生成树。 • IST和CST(Common Spanning Tree,公共生成树)共同构成整个交换网络的生成树CIST(Common and Internal Spanning Tree,公共和内部生成树)。IST是CIST在MST域内的片段。 • 例如图中CIST在每个MST域内都有一个片段,这个片段就是各个域内的IST。

  8. MSTP术语 • CST • CST是连接交换网络内所有MST域的单生成树。如果把每个MST域看作是一个“设备”,CST就是这些“设备”通过STP协议、RSTP协议计算生成的一棵生成树。 • 例如图中红色线条描绘的就是CST。

  9. MSTP术语 • CIST • CIST是连接一个交换网络内所有设备的单生成树,由IST和CST共同构成。 • 例如图4中,每个MST域内的IST加上MST域间的CST就构成整个网络的CIST。

  10. MSTP配置 Switch(config)#spanning-tree mst configuration • Enters MST configuration submode Switch(config-mst)#name name • Sets the MST region name Switch(config-mst)#revision rev_num • Sets the MST configuration revision number Switch(config-mst)#instance inst vlan range • Maps the VLANs to an MST instance Switch(config-mst)#spanning-tree mst instance_number root primary|secondary • Establishes primary and secondary roots for MST instance

More Related