当前位置:网站首页>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 链路捆绑(消除二层环路)
边栏推荐
- #yyds干货盘点#【愚公系列】2022年08月 Go教学课程 008-数据类型之整型
- How engineers treat open source
- 成功解决TypeError: can‘t multiply sequence by non-int of type ‘float‘
- 两个链表的第一个公共节点——LeetCode
- 3d打印出现stl文件物体不是流形,意味着不是水密体...解决办法
- In 22 years, the salary of programmers nationwide in January was released, only to know that there are so many with annual salary of more than 400,000?
- YOLOv5的Tricks | 【Trick11】在线模型训练可视化工具wandb(Weights & Biases)
- input输入框超出部分用省略号表示以及判断内容是否有超出(PC端)
- 全排列思路详解
- 云原生-VMware虚拟机安装Kubesphere实战(一)
猜你喜欢
How to check if the online query suddenly slows down
[Excel knowledge and skills] Convert numeric format numbers to text format
Mysql. Slow Sql
【redis】发布和订阅消息
Mysql database installation and configuration detailed tutorial
构建检测,无规矩不成方圆
MySQL进阶查询
Only lazy and hungry. You still don't understand the singleton pattern!
深度解析volatile关键字(保证够全面)
Shell编程三剑客之sed
随机推荐
微信小程序强制更新版本
C# using timer
Software Testing Certificate (1) - Software Evaluator
How to build speed, speed up again
Difference Between Image Recognition and Semantic Segmentation
SystemVerilog: 验证知识点点滴滴
How engineers treat open source
[Data Visualization] Chart Design Principles
使用 BeanUtils 做属性拷贝,性能有点拉胯!
【js】获取当前时间的前后n天或前后n个月(时分秒年月日都可)
Two-dimensional array combat project -------- "Minesweeper Game"
【redis】发布和订阅消息
全排列思路详解
networkmanager无法打开
云原生-VMware虚拟机安装Kubesphere实战(一)
Mysql. Slow Sql
【mysql】mysql分别按年/月/日/周分组统计数据
微信小程序通过URL Scheme动态的渲染数据
Elastic scaling of construction resources
Which foreign language journals and conferences can be submitted for software engineering/system software/programming language?