当前位置:网站首页>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
边栏推荐
- STM32__06—单通道ADC
- SpreadJS 15.1 CN 与 SpreadJS 15.1 EN
- 什么叫做信息安全?包含哪些内容?与网络安全有什么区别?
- Zhuan: in the future, such an organization can withstand the risks
- 15 MySQL-存储过程与函数
- 14 MySQL view
- 用列表初始化你的vector&&initializer_list简介
- rsync远程同步
- How much do you know about the bank deposit business that software test engineers must know?
- What if the C disk is not enough? Let's see how I can clean up 25g of temp disk space after I haven't redone the system for 4 years?
猜你喜欢
Effet Doppler (déplacement de fréquence Doppler)
如何让同步/刷新的图标(el-icon-refresh)旋转起来
C reflection and type
openssl-1.0.2k版本升级openssl-1.1.1p
What are the functions of Yunna fixed assets management system?
GFS分布式文件系统
Rasa 3.x 学习系列-Rasa 3.2.1 新版本发布
wx.getLocation(Object object)申请方法,最新版
选择致敬持续奋斗背后的精神——对话威尔价值观【第四期】
What if the C disk is not enough? Let's see how I can clean up 25g of temp disk space after I haven't redone the system for 4 years?
随机推荐
What if the C disk is not enough? Let's see how I can clean up 25g of temp disk space after I haven't redone the system for 4 years?
Fiddler Everywhere 3.2.1 Crack
PADS ROUTER 使用技巧小记
Bao Yan notes II software engineering and calculation volume II (Chapter 13-16)
总结了 800多个 Kubectl 别名,再也不怕记不住命令了!
SpreadJS 15.1 CN 与 SpreadJS 15.1 EN
21. PWM application programming
PV static creation and dynamic creation
What are the functions of Yunna fixed assets management system?
转:未来,这样的组织才能扛住风险
保研笔记四 软件工程与计算卷二(8-12章)
Tips for using pads router
数据库遇到的问题
20220703 周赛:知道秘密的人数-动规(题解)
5. Logistic regression
[Luogu cf487e] tours (square tree) (tree chain dissection) (line segment tree)
保研笔记一 软件工程与计算卷二(1-7章)
rsync远程同步
Doppler effect (Doppler shift)
上门预约服务类的App功能详解