当前位置:网站首页>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 链路捆绑(消除二层环路)
边栏推荐
猜你喜欢
MSTP——多生成树(案列+配置)
How to check if the online query suddenly slows down
YOLOv5的Tricks | 【Trick10】从PyTorch Hub加载YOLOv5
[GXYCTF2019]BabySQli
构建检测,无规矩不成方圆
容器技术真的是环境管理的救星吗?
J9 Digital Theory: DAO governance is more like an ecological process: governance is native to the network and continues to evolve
How engineers treat open source
Single-chip human-computer interaction--matrix key
Web APIs BOM - A Comprehensive Case of Operating Browsers
随机推荐
力扣------用栈操作构建数组
微信小程序自定义navigationBar
[GXYCTF2019]BabySQli
Only lazy and hungry. You still don't understand the singleton pattern!
Analysis of LENS CRA and SENSOR CRA Matching Problems
Linux安装redis数据库
Single-chip human-computer interaction--matrix key
Apache Commons Configuration远程代码执行漏洞(CVE-2022-33980)分析&复现
总结Qt中常用文件信息QFileInfo的获取:后缀,名称,路径,链接
详谈二叉搜索树
Dump file generation, content, and analysis
How to check if the online query suddenly slows down
编程技巧│selenium 更新 chromedriver 驱动
C#-委托的详细用法
【考虫 六级英语】语法课笔记
Pico 4更多参数曝光:Pancake+彩色透视,还有Pro版本
How to easily obtain the citation format of references?
虚拟电厂可视化大屏,深挖痛点精准减碳
Mysql.慢Sql
百战RHCE(第四十八战:运维工程师必会技-Ansible学习3-构建Ansible清单)