当前位置:网站首页>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
边栏推荐
- 考试考试自用
- 携号转网最大赢家是中国电信,为何人们嫌弃中国移动和中国联通?
- ICE -- 源码分析
- 激活函数的优缺点和选择
- APISIX jwt-auth 插件存在错误响应中泄露信息的风险公告(CVE-2022-29266)
- 如果conda找不到想要安装的库怎么办PackagesNotFoundError: The following packages are not available from current
- MySQL InnoDB transaction
- IronPDF for . NET 2022.4.5455
- Collation of errors encountered in the use of redis shake
- 移动app软件测试工具有哪些?第三方软件测评小编分享
猜你喜欢
随机推荐
el-tree实现只显示某一级复选框且单选
Openstack theoretical knowledge
Mobile finance (for personal use)
Precautions for use of dispatching system
Upgrade MySQL 5.1 to 5.68
What is CNAs certification? What are the software evaluation centers recognized by CNAs?
现在做自媒体能赚钱吗?看完这篇文章你就明白了
【Leetcode-每日一题】安装栅栏
编译,连接 -- 笔记
怎么看基金是不是reits,通过银行购买基金安全吗
c语言---字符串+内存函数
Explanation 2 of redis database (redis high availability, persistence and performance management)
提取不重复的整数
IronPDF for .NET 2022.4.5455
Modèle de Cluster MySQL et scénario d'application
Explanation of redis database (III) redis data type
Mysql database explanation (IX)
c语言---指针进阶
电脑怎么重装系统后显示器没有信号了
字符串排序