当前位置:网站首页>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.255
You 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 1
It 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
边栏推荐
- STM32__ 06 - single channel ADC
- 单商户V4.4,初心未变,实力依旧!
- Initialize your vector & initializer with a list_ List introduction
- Tips for using pads router
- [SQL] SQL expansion languages of mainstream databases (T-SQL, pl/sql, pl/pgsql)
- 20.移植Freetype字体库
- Make a short video clip number of we media film and television. Where can I download the material?
- Zhongjun group launched electronic contracts to accelerate the digital development of real estate enterprises
- 18.(arcgis api for js篇)arcgis api for js点采集(SketchViewModel)
- 【luogu CF487E】Tourists(圆方树)(树链剖分)(线段树)
猜你喜欢

STM32__06—单通道ADC

Hcip course notes-16 VLAN, three-tier architecture, MPLS virtual private line configuration

Tips for using pads router

Part III Verilog enterprise real topic of "Niuke brush Verilog"

【二叉搜索树】增删改查功能代码实现

21.PWM应用编程

Fiddler Everywhere 3.2.1 Crack

软件测试工程师必会的银行存款业务,你了解多少?

Yunna | what are the main operating processes of the fixed assets management system

Fiddler Everywhere 3.2.1 Crack
随机推荐
Use CAS instead of synchronized
做自媒体影视短视频剪辑号,在哪儿下载素材?
[Luogu p3295] mengmengda (parallel search) (double)
保研笔记四 软件工程与计算卷二(8-12章)
Use mapper: --- tkmapper
rsync远程同步
What is a humble but profitable sideline?
STM32__06—单通道ADC
20220703 周赛:知道秘密的人数-动规(题解)
数据库遇到的问题
Open3D 点云随机添加噪声
7.5 装饰器
【SQL】各主流数据库sql拓展语言(T-SQL 、 PL/SQL、PL/PGSQL)
提升工作效率工具:SQL批量生成工具思想
如何让同步/刷新的图标(el-icon-refresh)旋转起来
openssl-1.0.2k版本升级openssl-1.1.1p
教你在HbuilderX上使用模拟器运行uni-app,良心教学!!!
GFS分布式文件系统
Transport layer protocol ----- UDP protocol
Spire Office 7.5.4 for NET