当前位置:网站首页>Configuring OSPF load sharing for Huawei devices
Configuring OSPF load sharing for Huawei devices
2022-07-05 23:56:00 【Tony_ long7483】
Configure the interfaces VLAN
[LSW1]vlan batch 10 12 13
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 12
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 13
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[LSW2]vlan batch 12 23
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 12
[LSW2-GigabitEthernet0/0/4]port link-type trunk
[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 23
[LSW3]vlan batch 13 34
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 13
[LSW3-GigabitEthernet0/0/4]port link-type trunk
[LSW3-GigabitEthernet0/0/4]port trunk allow-pass vlan 34
[LSW4]vlan batch 23 34
[LSW4-GigabitEthernet0/0/2]port link-type trunk
[LSW4-GigabitEthernet0/0/2]port trunk allow-pass vlan 23
[LSW4-GigabitEthernet0/0/3]port link-type trunk
[LSW4-GigabitEthernet0/0/3]port trunk allow-pass vlan 34
[LSW4-GigabitEthernet0/0/1]port link-type trunk
[LSW4-GigabitEthernet0/0/1]port trunk allow-pass vlan 20Configure the IP Address
[LSW1-Vlanif12]ip add 10.1.12.1 24
[LSW1-Vlanif13]ip add 10.1.13.1 24
[LSW1-Vlanif10]ip add 10.1.10.1 24
[LSW2-Vlanif12]ip add 10.1.12.2 24
[LSW2-Vlanif23]ip add 10.1.23.2 24
[LSW3-Vlanif13]ip add 10.1.13.3 24
[LSW3-Vlanif34]ip add 10.1.34.3 24
[LSW4-Vlanif23]ip add 10.1.23.4 24
[LSW4-Vlanif34]ip add 10.1.34.4 24
[LSW4-Vlanif20]ip add 10.1.20.4 24
[LSW1]int LoopBack 0
[LSW1-LoopBack0]ip add 10.1.1.1 32
[LSW2]int LoopBack 0
[LSW2-LoopBack0]ip add 10.2.2.2 32
[LSW3]int LoopBack 0
[LSW3-LoopBack0]ip add 10.3.3.3 32
[LSW4]int LoopBack 0
[LSW4-LoopBack0]ip add 10.4.4.4 32To configure OSPF Basic function
[LSW1]ospf 1 router-id 10.1.1.1
[LSW1-ospf-1]area 0
[LSW1-ospf-1-area-0.0.0.0]network 10.1.10.0 0.0.0.255
[LSW1-ospf-1-area-0.0.0.0]network 10.1.12.0 0.0.0.255
[LSW1-ospf-1-area-0.0.0.0]network 10.1.13.0 0.0.0.255
[LSW2]ospf 1 router-id 10.2.2.2
[LSW2-ospf-1]area 0
[LSW2-ospf-1-area-0.0.0.0]network 10.1.12.0 0.0.0.255
[LSW2-ospf-1-area-0.0.0.0]network 10.1.23.0 0.0.0.255
[LSW3]ospf 1 router-id 10.3.3.3
[LSW3-ospf-1]area 0
[LSW3-ospf-1-area-0.0.0.0]network 10.1.13.0 0.0.0.255
[LSW3-ospf-1-area-0.0.0.0]network 10.1.34.0 0.0.0.255
[LSW4]ospf 1 router-id 10.4.4.4
[LSW4-ospf-1]area 0
[LSW4-ospf-1-area-0.0.0.0]network 10.1.23.0 0.0.0.255
[LSW4-ospf-1-area-0.0.0.0]network 10.1.34.0 0.0.0.255
[LSW4-ospf-1-area-0.0.0.0]network 10.1.20.0 0.0.0.255You can see going to 10.1.20.0 Two next hops of network segment 10.1.12.2 and 10.1.13.3 All become effective routes , Form load sharing
stay LSW1 Configure the equivalent route priority on
[LSW1-ospf-1]nexthop 10.1.12.2 weight 1It can be seen that , When the priority of the equivalent route is configured , Because the next jump is 10.1.12.2 The priority of the ( A weight of 1) Higher than the next jump is 10.1.13.3 The priority of the , therefore OSPF The next jump is preferred to 10.1.12.2 For the only optimal route
边栏推荐
- Transport layer protocol ----- UDP protocol
- Zero rhino technology joined hands with the intelligence Club: the "causal faction" forum was successfully held, and the "causal revolution" brought the next generation of trusted AI
- 时区的区别及go语言的time库
- 哪些偏门项目可以做到?自媒体做到月赚一万以上很难吗?
- 如何让同步/刷新的图标(el-icon-refresh)旋转起来
- 俄外交部:日韩参加北约峰会影响亚洲安全稳定
- Single merchant v4.4 has the same original intention and strength!
- Initialize your vector & initializer with a list_ List introduction
- The use of El cascader and the solution of error reporting
- el-cascader的使用以及报错解决
猜你喜欢
18. (ArcGIS API for JS) ArcGIS API for JS point collection (sketchviewmodel)
Research notes I software engineering and calculation volume II (Chapter 1-7)
单商户V4.4,初心未变,实力依旧!
用列表初始化你的vector&&initializer_list简介
Transport layer protocol ----- UDP protocol
What are Yunna's fixed asset management systems?
Qt QPushButton详解
保研笔记二 软件工程与计算卷二(13-16章)
21.PWM应用编程
上门预约服务类的App功能详解
随机推荐
FFT 学习笔记(自认为详细)
云呐|公司固定资产管理系统有哪些?
Single merchant v4.4 has the same original intention and strength!
QT--线程
传输层协议------UDP协议
Zhuan: in the future, such an organization can withstand the risks
SpreadJS 15.1 CN 与 SpreadJS 15.1 EN
Senparc. Weixin. Sample. MP source code analysis
Bao Yan notes II software engineering and calculation volume II (Chapter 13-16)
PV静态创建和动态创建
硬件及接口学习总结
微信小程序---WXML 模板语法(附带笔记文档)
做自媒体影视短视频剪辑号,在哪儿下载素材?
Rsync remote synchronization
4 points tell you the advantages of the combination of real-time chat and chat robots
【LeetCode】5. Valid palindrome
Qt 一个简单的word文档编辑器
Chapter 16 oauth2authorizationrequestredirectwebfilter source code analysis
el-cascader的使用以及报错解决
How to improve eloquence