当前位置:网站首页>Huawei equipment is configured with OSPF and BFD linkage
Huawei equipment is configured with OSPF and BFD linkage
2022-07-06 05:04:00 【Tony7483】

1. Configure all interfaces VLAN
[LSW1]vlan batch 12 13
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 12
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 13
[LSW2]vlan batch 10 12 23
[LSW2-GigabitEthernet0/0/4]port link-type trunk
[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 12
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 23
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[LSW3]vlan batch 13 23
[LSW3-GigabitEthernet0/0/1]port link-type trunk
[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 13
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 23
2. Configure the IP Address
[LSW1-Vlanif12]ip add 10.1.12.1 24
[LSW1-Vlanif13]ip add 10.1.13.1 24
[LSW1]int LoopBack 0
[LSW1-LoopBack0]ip add 10.1.1.1 32
[LSW2-Vlanif12]ip add 10.1.12.2 24
[LSW2-Vlanif23]ip add 10.1.23.2 24
[LSW2-Vlanif10]ip add 10.1.10.2 24
[LSW2]int LoopBack 0
[LSW2-LoopBack0]ip add 10.2.2.2 32
[LSW3-Vlanif13]ip add 10.1.13.3 24
[LSW3-Vlanif23]ip add 10.1.23.3 24
[LSW3]int LoopBack 0
[LSW3-LoopBack0]ip add 10.3.3.3 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.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
[LSW2-ospf-1-area-0.0.0.0]network 10.1.10.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.23.0 0.0.0.255


Go to the destination segment 10.1.10.0/24 The next hop address of the route is 10.1.12.2, The traffic is on the link LSW1→LSW2 Up transfer
4. To configure OSPF And BFD linkage
[LSW1]bfd
[LSW1]ospf
[LSW1-ospf-1]bfd all-interfaces enable
[LSW2]bfd
[LSW2]ospf
[LSW2-ospf-1]bfd all-interfaces enable
[LSW3]bfd
[LSW3]ospf
[LSW3-ospf-1]bfd all-interfaces enable

5. Check the configuration : Yes LSW2 Of GE0/0/4 Interface execution shutdown command , Analog link failure

边栏推荐
- Summary of redis basic knowledge points
- RTP GB28181 文件测试工具
- 树莓派3.5寸屏幕白屏显示连接
- Nestjs配置文件上传, 配置中间件以及管道的使用
- TCP three handshakes you need to know
- 2021robocom robot developer competition (Preliminary)
- Quelques conseils communs sur l'inspecteur de l'unit é, généralement pour les extensions d'éditeur ou d'autres
- acwing周赛58
- Project manager, can you draw prototypes? Does the project manager need to do product design?
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
猜你喜欢

Flody的应用

Postman pre script - global variables and environment variables

Basic knowledge and examples of binary tree

Fuzzy -- basic application method of AFL

SQL injection vulnerability (MSSQL injection)

Fiddler installed the certificate, or prompted that the certificate is invalid

Pagoda configuration mongodb

Crazy God said redis notes

图论的扩展

Yyds dry inventory SSH Remote Connection introduction
随机推荐
Biscuits (examination version)
几种RS485隔离通讯的方案介绍
Compilation et connexion de shader dans games202 - webgl (comprendre la direction)
What should the project manager do if there is something wrong with team collaboration?
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Request (request object) and response (response object)
Basic knowledge and examples of binary tree
Cve-2019-11043 (PHP Remote Code Execution Vulnerability)
Hometown 20 years later (primary school exercises)
Summary of redis AOF and RDB knowledge points
[数学建模] 微分方程--捕鱼业的持续发展
Redis 排查大 key 的4种方法,优化必备
ByteDance program yuan teaches you how to brush algorithm questions: I'm not afraid of the interviewer tearing the code
The video in win10 computer system does not display thumbnails
Supreme Court, judgment standard of divorce cases
Leetcode dynamic planning day 16
RTP GB28181 文件测试工具
DMA use of stm32
优秀PM必须经历这3层蜕变!
SQL注入漏洞(MSSQL注入)