当前位置:网站首页>Vrrp+mstp configuration details [Huawei ENSP experiment]
Vrrp+mstp configuration details [Huawei ENSP experiment]
2022-07-28 08:52:00 【Shangjin vegetable pig】
List of articles
One . Preface
We configured MSTP, Completed a basic requirement , Now let's continue to improve , Use VRRP+MSTP To configure
Requirements are as follows :
Existing demand of a company 500 This device can be connected to the external network , The company has 5 Departments , Namely A\B\C\D\E,
Every department needs 100 device , And the second floor is required to be isolated .
1. Make a reasonable plan IP( Use private IP) With subnets .
2. It is proposed to adopt DHCP Distribution address ( expand )
3. Divide VLAN, Ensure the control of layer 2 link traffic .
5. The company network needs to be configured on two convergence layer switches and a core router ospf Routing protocol realizes internal network communication .
6、 Link aggregation is needed between two convergence layer switches to increase bandwidth , Considering the security of the two-layer network and the occupation of network resources, it is necessary to realize the two-layer isolation between different departments .
7. Current use 5 Two layer switches simulate 5 Access layer equipment of departments .
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 )
9、 To facilitate later management and maintenance, it is necessary to enable the remote login function on the core and convergence layer devices . The authentication method is user name + Password authentication ( User name and password customization ).
10.MSTP、VRRP These technologies can be considered and implemented by students according to the situation .( expand )
11. Think about how to realize when intranet users need to access the Internet ?
1.1 MSTP
MSTP Not just multiple MST( Spanning tree instance ), And it can be divided into multiple MST Area (MST Area , Also known as MST Area ). Usually ,MSTP The network can contain one or more MST Domain , Every MST A domain can contain one or more MST. Every MSTI Run by stp/rstp/mstp The switching equipment consists of , These switching devices pass mstp After the protocol is calculated, a tree network is formed .
1.2 VRRP
Virtual routing redundancy protocol VRRP(Virtual Router Redundancy Protocol) It is a fault-tolerant protocol for improving network reliability . adopt VRRP, When the next hop equipment of the host fails , Switch business to backup device in time , So as to ensure the continuity and reliability of network communication .
Look at the topology :
3、 ... and . Experimental process
We have successfully configured MSTP, Then we need to pay attention to one thing :
Because of our MSTP Of
instance 1 root primary
instance 2 root secondary
vlan10 20 At the taproot SW6, Spare root in SW7.
vlan30 40 50 The taproot is SW7, Spare root in SW6.
Allocate as follows .
instance 1 vlan 10 20
instance 2 vlan 30 40 50

Then we need to pay attention to one thing after configuration
VRRP in vlan 10 20 go SW6, Echo with the above
as follows , Let's get in first interface Vlanif10, To configure ip Address
interface Vlanif10
ip address 192.168.10.124 25
Use VRRP Configure virtual routing , Change the priority to 150.
vrrp vrid 1 virtual-ip 192.168.10.126 vrrp vrid 1 priority 150 vrrp
At the same time, set the upper link detection , testing GigabitEthernet0/0/9 Interface , If the interface fails or loses packets, the priority will be reduced 60.
In this case , go SW7 Route for communication .
vrid 1 track interface GigabitEthernet0/0/9 reduced 60 dhcp select
global
The same goes for the rest :
Be careful. , stay sw6 and sw7 Of ip Cannot configure the same , Otherwise, it is easy to conflict .
Screenshot of stepping on the pit :
Step on the pit 2:
End of configuration VRRP, All are Lord .
reason ,Eth-Trunk1 No release vlan vrrp:
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
solve :
3.1 Convenient command
SW6 For example :
interface Vlanif10
ip address 192.168.10.124 25
vrrp vrid 1 virtual-ip 192.168.10.126
vrrp vrid 1 priority 150
vrrp vrid 1 track interface GigabitEthernet0/0/9 reduced 60
dhcp select global
interface Vlanif20
ip address 192.112.20.252 25
vrrp vrid 2 virtual-ip 192.112.20.254
vrrp vrid 2 priority 150
vrrp vrid 2 track interface GigabitEthernet0/0/9 reduced 60
interface Vlanif40
ip address 192.168.20.252 25
vrrp vrid 4 virtual-ip 192.168.20.254
interface Vlanif30
ip address 192.168.20.124 25
vrrp vrid 3 virtual-ip 192.168.20.126
interface Vlanif50
ip address 192.168.30.124 25
vrrp vrid 5 virtual-ip 192.168.30.126

边栏推荐
- C轮融资已完成!思迈特软件领跑国内BI生态赋能,产品、服务竿头一步
- Recruiting talents, gbase high-end talent recruitment in progress
- When will brain like intelligence, which is popular in academia, land? Let's listen to what the industry masters say - qubits, colliders, x-knowledge Technology
- Chapter 2-14 sum integer segments
- Post it notes -- 45 {packaging of the uniapp component picker, for data transmission and processing -- Based on the from custom packaging that will be released later}
- GBase 8s是否支持存储关系型数据和对象型数据?
- 5张图告诉你:同样是职场人,差距怎么这么大?
- HCIP第九天_BGP实验
- Source code analysis of linkedblockingqueue
- C #, introductory tutorial -- debugging skills and logical error probe technology and source code when the program is running
猜你喜欢

I am a 27 year old technical manager, whose income is too high, and my heart is in a panic

You're not still using xshell, are you? This open source terminal tool is yyds!
![[activity registration] User Group Xi'an - empowering enterprise growth with modern data architecture](/img/92/88be42faf0451cb19067672dab69c8.jpg)
[activity registration] User Group Xi'an - empowering enterprise growth with modern data architecture

CAT1 4g+ Ethernet development board 232 data is sent to the server through 4G module TCP

GB/T 41479-2022信息安全技术 网络数据处理安全要求 导图概览

HCIP第九天_BGP实验

C轮融资已完成!思迈特软件领跑国内BI生态赋能,产品、服务竿头一步

Shell programming specifications and variables

When will brain like intelligence, which is popular in academia, land? Let's listen to what the industry masters say - qubits, colliders, x-knowledge Technology

Line generation (matrix)
随机推荐
GB/T 41479-2022信息安全技术 网络数据处理安全要求 导图概览
PHP基础知识 - PHP 使用 PDO
说透缓存一致性与内存屏障
Warehouse of multiple backbone versions of yolov5
Does gbase 8s support storing relational data and object-oriented data?
bash-shell 免交互
招贤纳士,GBASE高端人才招募进行中
Opencv+paddle Orc recognize pictures and extract table information
Blog building 7: Hugo
Win the bid! Nantah general gbase 8s won the bid for the 2022 database framework project of NARI Group
Why is the text box of Google material design not used?
Day112. Shangyitong: Mobile verification code login function
Gb/t 41479-2022 information security technology network data processing security requirements map overview
(13) Simple temperature alarm device based on 51 single chip microcomputer
When unity switches to another scene, he finds that the scene is dimmed
我来教你如何组装一个注册中心?
kubernetes之Deployment
Recruiting talents, gbase high-end talent recruitment in progress
Redis basic knowledge, let's review it
HCIP第九天_BGP实验

