当前位置:网站首页>Configuring OSPF load sharing for Huawei devices
Configuring OSPF load sharing for Huawei devices
2022-07-06 08:12:00 【Tony7483】
1. 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 20
2. Configure 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 32
3. To 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
4. 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
边栏推荐
- The Vice Minister of the Ministry of industry and information technology of "APEC industry +" of the national economic and information technology center led a team to Sichuan to investigate the operat
- [research materials] 2021 China online high growth white paper - Download attached
- Binary tree creation & traversal
- 二叉树创建 & 遍历
- 数据治理:主数据的3特征、4超越和3二八原则
- Notes on software development
- Upgrade tidb with tiup
- 使用 Dumpling 备份 TiDB 集群数据到兼容 S3 的存储
- 1. Color inversion, logarithmic transformation, gamma transformation source code - miniopencv from zero
- Nacos Development Manual
猜你喜欢
面向个性化需求的在线云数据库混合调优系统 | SIGMOD 2022入选论文解读
The State Economic Information Center "APEC industry +" Western Silicon Valley will invest 2trillion yuan in Chengdu Chongqing economic circle, which will surpass the observation of Shanghai | stable
"Friendship and righteousness" of the center for national economy and information technology: China's friendship wine - the "unparalleled loyalty and righteousness" of the solidarity group released th
将 NFT 设置为 ENS 个人资料头像的分步指南
"Designer universe" Guangdong responds to the opinions of the national development and Reform Commission. Primary school students incarnate as small community designers | national economic and Informa
Learn Arduino with examples
Asia Pacific Financial Media | female pattern ladyvision: forced the hotel to upgrade security. The drunk woman died in the guest room, and the hotel was sentenced not to pay compensation | APEC secur
【云原生】手把手教你搭建ferry开源工单系统
Artcube information of "designer universe": Guangzhou implements the community designer system to achieve "great improvement" of urban quality | national economic and Information Center
[factorial inverse], [linear inverse], [combinatorial counting] Niu Mei's mathematical problems
随机推荐
1. Color inversion, logarithmic transformation, gamma transformation source code - miniopencv from zero
From monomer structure to microservice architecture, introduction to microservices
[cloud native] teach you how to build ferry open source work order system
Restore backup data on S3 compatible storage with br
数据治理:误区梳理篇
Esrally domestic installation and use pit avoidance Guide - the latest in the whole network
Learn Arduino with examples
Data governance: Data Governance under microservice architecture
华为云OBS文件上传下载工具类
hcip--mpls
matplotlib. Widgets are easy to use
【云原生】手把手教你搭建ferry开源工单系统
P3047 [usaco12feb]nearby cows g (tree DP)
【T31ZL智能视频应用处理器资料】
What are the ways to download network pictures with PHP
二叉树创建 & 遍历
[Yugong series] February 2022 U3D full stack class 011 unity section 1 mind map
Asia Pacific Financial Media | designer universe | Guangdong responds to the opinions of the national development and Reform Commission. Primary school students incarnate as small community designers
Use Alibaba icon in uniapp
ESP系列引脚说明图汇总