当前位置:网站首页>Configuration of multi spanning tree MSTP
Configuration of multi spanning tree MSTP
2022-04-23 15:39:00 【GRQ。】
Configuration requirements :
share 4 individual vlan 10 20 30 40
Ask for vlan10 20 Add examples 1
vlan30 40 Add examples 2
The network topology is as follows :
Switch 1 To configure :
[Huawei]vlan batch 10 20 30 40
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
The above configuration is to create VLAN And release all ports VLAN
[Huawei]stp mode mstp (stp The mode is set to mstp Huawei switches are enabled by default mstp)
[Huawei]stp region-configuration ( Configuration domain )
[Huawei-mst-region]region-name GRQ ( Configure the domain name )
[Huawei-mst-region]revision-level 10 ( Revision level )
[Huawei-mst-region]instance 1 vlan 10 20 ( Configure the instance 1 And bind the vlan10 20)
[Huawei-mst-region]instance 2 vlan 30 40 ( Configure the instance 2 And bind the vlan30 40)
[Huawei-mst-region]active region-configuration 【 Activate domain configuration ( It will not take effect until activated )】
The above configuration should be consistent on other switches
Switch 2 To configure :
[Huawei]vlan batch 10 20 30 40
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei]stp mode mstp
[Huawei]stp region-configuration
[Huawei-mst-region]region-name GRQ
[Huawei-mst-region]revision-level 10
[Huawei-mst-region]instance 1 vlan 10 20
[Huawei-mst-region]instance 2 vlan 30 40
[Huawei-mst-region]active region-configuration
The above configuration is consistent with that of other switches
[Huawei]stp instance 1 priority 0 ( Configure the instance 1 The priority of 4096)
[Huawei]stp instance 2 priority 4096 ( Configure the instance 2 The priority of 0)
[Huawei]stp instance 0 priority 0 ( Configure the instance 0 The priority of 4096)( example 0 Is not added to the instance vlan, Such as vlan1)
Switch 3 To configure :
[Huawei]vlan batch 10 20 30 40
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[Huawei]stp mode mstp
[Huawei]stp region-configuration
[Huawei-mst-region]region-name GRQ
[Huawei-mst-region]revision-level 10
[Huawei-mst-region]instance 1 vlan 10 20
[Huawei-mst-region]instance 2 vlan 30 40
[Huawei-mst-region]active region-configuration
The above configuration is consistent with that of other switches
[Huawei]stp instance 1 priority 4096
[Huawei]stp instance 2 priority 0
[Huawei]stp instance 0 priority 4096
The above configuration is the same as that of the switch 2 cross
At the switch 1 Check whether the configuration is correct
Pictured : For example 1 Come on ,1 Port is the root port ,2 Port number is blocking port
版权声明
本文为[GRQ。]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231537350242.html
边栏推荐
- 大厂技术实现 | 行业解决方案系列教程
- Modèle de Cluster MySQL et scénario d'application
- 一刷312-简单重复set-剑指 Offer 03. 数组中重复的数字(e)
- 【递归之数的拆分】n分k,限定范围的拆分
- Multitimer V2 reconstruction version | an infinitely scalable software timer
- Upgrade MySQL 5.1 to 5.611
- Deep learning - Super parameter setting
- T2 icloud calendar cannot be synchronized
- Cookie&Session
- Explanation of redis database (IV) master-slave replication, sentinel and cluster
猜你喜欢
随机推荐
Today's sleep quality record 76 points
Control structure (I)
What if the server is poisoned? How does the server prevent virus intrusion?
Mobile finance (for personal use)
Educational codeforces round 127 A-E problem solution
基于 TiDB 的 Apache APISIX 高可用配置中心的最佳实践
多生成树MSTP的配置
[backtrader source code analysis 18] Yahoo Py code comments and analysis (boring, interested in the code, you can refer to)
php类与对象
GFS distributed file system (Theory)
字符串最后一个单词的长度
Elk installation
Deep learning - Super parameter setting
Redis主从复制过程
pgpool-II 4.3 中文手册 - 入门教程
控制结构(二)
控制结构(一)
cadence SPB17.4 - Active Class and Subclass
携号转网最大赢家是中国电信,为何人们嫌弃中国移动和中国联通?
JVM-第2章-类加载子系统(Class Loader Subsystem)