当前位置:网站首页>Detailed explanation of MSTP protocol for layer 3 switch configuration [Huawei ENSP experiment]
Detailed explanation of MSTP protocol for layer 3 switch configuration [Huawei ENSP experiment]
2022-07-28 08:52:00 【Shangjin vegetable pig】
One , Preface
MSTP: Operate between the access layer switch and the convergence layer switch MSTP, Prevent the infinite circulation of data in the switching network, resulting in the paralysis of the switching network , It can also balance the load
In the last article, we have successfully configured the route / Three layer switch DHCP Distribution address . Now let's complete the three-layer switch configuration MSTP The task of the agreement .
The task requirements are as follows :
8. To improve the reliability of the network , Each layer-2 access device needs to be interconnected with the convergence layer device , So you need to configure STP The protocol prevents the occurrence of loops on the basis of ensuring reliability .( expand )
10.MSTP、VRRP These technologies can be considered and implemented by students according to the situation .( expand )
Let's first look at the topology :
Two , Example — Simple configuration MSTP agreement
The topology is as follows :
First step lsw16 To configure
1. First create vlan
vlan batch 10 20
2. To 1 Port configuration
int eth 0/0/1
3. Configure the communication mode
port link-type access
Be careful :
port default vlan 10
4. The other two ports
[sw1]port-group group-member Ethernet 0/0/2 to Ethernet 0/0/3
5. Configure to trunk
port link-type trunk
6. Run through all vlan
port trunk allow-pass vlan all
The second step lsw17 To configure
Same as above .
The only difference is :
Be careful :
port default vlan 20
Step 3: configure the convergence layer switch LSW18
1. First create vlan
vlan batch 10 20
2. grouping
port-group group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/3
3. Configure to trunk
port link-type trunk
Output is as follows :
[cour1-GigabitEthernet0/0/1]port link-type trunk
[cour1-GigabitEthernet0/0/2]port link-type trunk
[cour1-GigabitEthernet0/0/3]port link-type trunk
4. Settings allow all vlan adopt
port trunk allow-pass vlan all
Step 4 configure the convergence layer switch LSW19
And the third step is to configure the convergence layer switch LSW18 Same steps .
Step 5 configuration mstp
stay sw10 in
Set up :[sw10]stp mode mstp
stp mode mstp
Get into mstp View :
stp region-configuration
Set the name :
[sw10-mst-region]region-name mstp
region-name mstp
Set version number
[sw10-mst-region]revision-level 0
revision-level 0
Divide into groups
[sw10-mst-region]instance 1 vlan 10
[sw10-mst-region]instance 2 vlan 20
instance 1 vlan 10
instance 2 vlan 20
Activate configuration :
[sw10-mst-region]active region-configuration
active region-configuration
Check the configuration :
[sw10-mst-region]dis current-configuration
dis current-configuration
as follows mstp All configurations of :
stp region-configuration
region-name mstp
revision-level 0
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
The above steps are in sw16,17,18,19 Run once each .
see
see mstp
dis stp instance 1 brief

[sw1]dis stp instance 1 brief
MSTID Port Role STP State Protection
1 Ethernet0/0/1 DESI LEARNING NONE
1 Ethernet0/0/2 ROOT FORWARDING NONE
1 Ethernet0/0/3 ALTE DISCARDING NONE
Convenient area :
1. First create vlan
vlan batch 10 20
2. To 1 Port configuration
int eth 0/0/1
3. Configure the communication mode
port link-type access
port default vlan 10
4. The other two ports
[sw1]port-group group-member Ethernet 0/0/2 to Ethernet 0/0/3
Configure to trunk
port link-type trunk
Run through all vlan
port trunk allow-pass vlan all
Set up :[sw10]stp mode mstp
Get into mstp View :
[sw10]stp region-configuration
Set the name :
[sw10-mst-region]region-name mstp
Set version number
[sw10-mst-region]revision-level 0
Divide into groups
[sw10-mst-region]instance 1 vlan 10
[sw10-mst-region]instance 2 vlan 20
Activate configuration :
[sw10-mst-region]active region-configuration
Check the configuration :
[sw10-mst-region]dis current-configuration
as follows mstp All configurations of :
stp region-configuration
region-name mstp
revision-level 0
instance 1 vlan 10
instance 2 vlan 20
active region-configuration
see mstp
dis stp instance 1 brief
3、 ... and . Curriculum - Layer 3 switch configuration MSTP agreement
Look at the topology :
MSTP The agreement is still relatively simple .
Have a look first , What is? MSTP agreement :
MSTP Multi region spanning tree protocol :
Form trees without loops , Solve broadcast storm and realize redundant backup .
Multiple spanning trees in VLAN To achieve load balancing between , Different VLAN The traffic is forwarded in different paths .
Convergence layer : First configure the layer 3 switch :
LSW1 as follows :
stp instance 1 root primary
stp instance 2 root secondary
LSW2 as follows :
stp instance 2 root primary
stp instance 1 root secondary
explain :LSW1 yes 1 The taproot of ,2 Spare root of .LSW2 yes 2 The taproot of ,1 Spare root of .
Get into stp region-configuration View :
Set the name , Divide 1 and 2 Of vlan, Activate region-configuration
stp region-configuration
region-name zhubo
instance 1 vlan 10 20
instance 2 vlan 30 40 50
active region-configuration
see stp To configure
display stp brief
Switch layer :
It has been configured before VLAN, So we're directly :
stp region-configuration
region-name zhubo
instance 1 vlan 10 20
instance 2 vlan 30 40 50
active region-configuration
that will do .
The results are as follows :
ping 192.168.10.253
边栏推荐
- PHP基础知识 - PHP 使用 PDO
- Alibaba technology has four sides + intersection +hr, and successfully got the offer. Can't double non undergraduate students enter the big factory?
- PHP Basics - PHP uses mysqli
- Hcip day 8
- 谷歌 Material Design 的文本框为什么没人用?
- Three ways to create threads
- 2022 Niuke multi school second problem solving Report
- Dry goods semantic web, Web3.0, Web3, metauniverse, these concepts are still confused? (top)
- postgresql查询【表字段类型】和库中【所有序列】
- Will sqlserver CDC 2.2 generate table locks when extracting large tables from the source
猜你喜欢

Why is the text box of Google material design not used?
![[opencv] generate transparent PNG image](/img/0a/4afc9bda411634562f4b0f3915a7ba.png)
[opencv] generate transparent PNG image

49 opencv deep analysis profile

谷歌 Material Design 的文本框为什么没人用?

The current value of uniapp's swiper dynamic setting does not take effect solution

2022 Niuke multi school second problem solving Report

HCIP第九天_BGP实验

Top all major platforms, 22 versions of interview core knowledge analysis notes, strong on the list

Eight ways to solve EMC and EMI conducted interference

View the dimensions of the list
随机推荐
The five pictures tell you: why is there such a big gap between people in the workplace?
opengauss同步状态疑问
Recruiting talents, gbase high-end talent recruitment in progress
Opencv+paddle Orc recognize pictures and extract table information
Pyflink connecting iceberg practice
图片批处理|必备小技能
SQL注入 ----前置基础
How to import and export Youxuan database
Baidu AI Cloud Jiuzhou district and county brain, depicting a new blueprint for urban and rural areas!
Source code analysis of linkedblockingqueue
How to configure phpunit under window
Analysis of model predictive control (MPC) (IX): numerical solution of quadratic programming (II)
Why can ThreadLocal achieve thread isolation?
Why is the text box of Google material design not used?
Network interface network crystal head RJ45, Poe interface definition line sequence
[soft test software evaluator] 2013 comprehensive knowledge over the years
Gbase 8A MPP and Galaxy Kirin (x86 version) complete deep adaptation
Eight ways to solve EMC and EMI conducted interference
Round C financing has been completed! Smart software leads domestic Bi ecological empowerment, and products and services are a step forward
SQL Server查询结果导出到EXCEL表格

