当前位置:网站首页>MSTP - Multiple Spanning Tree (Case + Configuration)
MSTP - Multiple Spanning Tree (Case + Configuration)
2022-08-11 00:49:00 【Lonely City 286】
目录
①第一步:在所有交换机启用MSTP配置,配置域名、Revision number and instance vsVLAN的映射关系
② 第二步、Run against the instanceSTP生成树;要求:
一、生成树分类:
- PVSTP:每个vlan 运行一棵生成树,Proprietary technology for Cisco.(Cisco switches are enabled by defaultPVSTP)
- RSTP:所有vlan 运行一棵生成树,公有技术. (华为交换机默认开启RSTP)( PVSTP和 RSTPGenerally not compatible. )
- MSTP:多个vlan运行一棵生成树(但不是全部,可以自己规划)
————————————————————————————————————————————————————————
二、MSTP详解:
- MSTP:多个vlan运行一棵生成树
- MSTP是从RSTP升级而来的,即RSTPInside the fast convergence mechanismMSTP都具备,所以MSTPThe spanning tree convergence time is also 1~6s
————————————————————————————————————————————————————————
三、 应用案例:
The switching network uses dual cores,核心SW1,核心SW2;拥有VLAN 100个,In order to achieve load balancing of Layer 2 traffic forwarding,需要在启用MSTPTechnology is that:
- ① 1-49 VLAN运行一个STP生成树,The main root bridge of this spanning tree is atSW1,The backup root bridge is inSW2;
- ② 50-100 VLAN运行另外一个生成树,The main root bridge of this spanning tree is atSW2,The backup root bridge is inSW1
Only two spanning trees are run in total.
实现两个STPThe mutual master-slave relationship of the protocol,Traffic implementation is based onSTPload balancing behavior
————————————————————————————————————————————————————————
四:相关配置:
①第一步:在所有交换机启用MSTP配置,配置域名、Revision number and instance vsVLAN的映射关系
spanning-tree mode mst //启用MSTP配置
spanning-tree mst config //进入MSTP配置模式
name aaa //定义域名,The domain name must be the same(All switches currently need to be on the sameMSTP域里面)
revision 1 //The revision number should also be the same,STPEvery time it converges,修订号+1
instence 1 vlan 100 ,200 //实例1里面包含VLAN 100和200
instence 2 vlan 300 , 400 //实例2里面包含VLAN300和400
( instence 1 vlan 100-200 //实例1里面包含VLAN 100到200的所有Vlan)
exit
- Four switches are listedID和vlan对应关系,修订号,Domain names must be the same
- MSTP里面实例0is a special instance,利用实例0和其他STP协议进行兼容,So the real column can only be from1开始)
② 第二步、Run against the instanceSTP生成树;要求:
- SW1作为VLAN 100和 200的主根桥;SW2作为VLAN 100和 200的备份根桥
- SW2作为VLAN 300和 400的主根桥,SW1作为VLAN 300和 400的备份根桥
SW1配置:
spanning-tree mst 1 root primary
sapnning-tree mst 2 root secondary
SW2配置:
spanning-tree mst 2 root primary
sapnning-tree mst 1 root secondary
- In dual-system hot standby configuration,需要与HSRP或VRRPActive/standby correspondence
- When configuring dual-system hot backup, select the spanning tree according to customer requirements and the characteristics of various spanning trees
————————————————————————————————————————————————————————
五、可以替代STP的协议:
- 1.1 思科:VSS、VPC
- 1.2 华为:CSS(Huawei frame stacking), istack(Huawei box switches are stacked)
- 1.3 H3C:IRF2(What is provided is horizontal virtualization) IRF3(Provided is vertical virtualization)
- 1.4 锐捷:VSU(Provides horizontal virtualization)
- 1.4 链路捆绑(消除二层环路)
边栏推荐
- YOLOv5的Tricks | 【Trick11】在线模型训练可视化工具wandb(Weights & Biases)
- [21-day learning challenge - kernel notes] (5) - devmem read and write register debugging
- electron -autoUpdater 更新
- Introduction to Qt (6) - Implementation of the lottery system
- 力扣------值相等的最小索引
- 从0开始设计JVM ,忘记名词跟上思路一次搞懂
- 总结Qt中常用文件信息QFileInfo的获取:后缀,名称,路径,链接
- [21 Days Learning Challenge] Half Insertion Sort
- Lens filter---about day and night dual-pass filter
- J9 Digital Theory: DAO governance is more like an ecological process: governance is native to the network and continues to evolve
猜你喜欢
微信小程序通过URL Scheme动态的渲染数据
池化技术有多牛?来,告诉你阿里的Druid为啥如此牛逼!
① 数据库介绍 及 关系型数据库的关系代数表达式
How to do patent mining, the key is to find patent points, in fact, it is not too difficult
【.NET Core】使用 NPOI 读写Excel 文件
91.(cesium之家)cesium火箭发射模拟
BEVDepth: Acquisition of Reliable Depth for Multi-view 3D Object Detection 论文笔记
Shell Text Three Musketeers Sed
Dump file generation, content, and analysis
Mysql database installation and configuration detailed tutorial
随机推荐
22/8/9 贪心问题合集
Use mysql statement to operate data table (table)
成功解决TypeError: can‘t multiply sequence by non-int of type ‘float‘
全排列思路详解
【js】获取当前时间的前后n天或前后n个月(时分秒年月日都可)
Dump file generation, content, and analysis
异常:try catch finally throws throw
嵌入式软件打log的一些心得
分布式.性能优化
YOLOv5的Tricks | 【Trick10】从PyTorch Hub加载YOLOv5
Mysql database installation and configuration detailed tutorial
SAS data processing technology (1)
Two-dimensional array combat project -------- "Minesweeper Game"
J9 Digital Theory: DAO governance is more like an ecological process: governance is native to the network and continues to evolve
② 关系数据库标准语言SQL 数据定义(创建、修改基本表)、数据更新(增删改)
Exceptions and exception handling mechanisms
BEVDepth: Acquisition of Reliable Depth for Multi-view 3D Object Detection 论文笔记
【pypdf2】合并PDF、旋转、缩放、裁剪、加密解密、添加水印
what is an array
分库分表ShardingSphere-JDBC笔记整理