当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
时序模型:门控循环单元网络(GRU)
Go并发和通道
软件性能测试报告起着什么作用?第三方测试报告如何收费?
kubernetes之常用Pod控制器的使用
Go语言条件,循环,函数
Code live collection ▏ software test report template Fan Wen is here
php函数
Redis主从复制过程
The El tree implementation only displays a certain level of check boxes and selects radio
自主作业智慧农场创新论坛
Squid agent
群体智能自主作业智慧农场项目启动及实施方案论证会议
MySQL集群模式與應用場景
推荐搜索 常用评价指标
APISIX jwt-auth 插件存在错误响应中泄露信息的风险公告(CVE-2022-29266)
网站压测工具Apache-ab,webbench,Apache-Jemeter
KNN, kmeans and GMM
Cookie&Session
PHP operators
JVM-第2章-类加载子系统(Class Loader Subsystem)