当前位置:网站首页>Huawei equipment is configured with OSPF and BFD linkage
Huawei equipment is configured with OSPF and BFD linkage
2022-07-05 23:56:00 【Tony_ long7483】
- 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 - 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 - 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
- Check the configuration : Yes LSW2 Of GE0/0/4 Interface execution shutdown command , Analog link failure
边栏推荐
- 做自媒体影视短视频剪辑号,在哪儿下载素材?
- Part III Verilog enterprise real topic of "Niuke brush Verilog"
- 15 MySQL-存储过程与函数
- Initialize your vector & initializer with a list_ List introduction
- 如何获取localStorage中存储的所有值
- 零犀科技携手集智俱乐部:“因果派”论坛成功举办,“因果革命”带来下一代可信AI
- 【NOI模拟赛】Anaid 的树(莫比乌斯反演,指数型生成函数,埃氏筛,虚树)
- JS 这次真的可以禁止常量修改了!
- 7.5 装饰器
- What is a humble but profitable sideline?
猜你喜欢
随机推荐
My colleagues quietly told me that flying Book notification can still play like this
Senparc.Weixin.Sample.MP源码剖析
5. Logistic regression
Online yaml to CSV tool
C# 文件与文件夹操作
做自媒体影视短视频剪辑号,在哪儿下载素材?
How to rotate the synchronized / refreshed icon (EL icon refresh)
Research notes I software engineering and calculation volume II (Chapter 1-7)
Which side projects can be achieved? Is it difficult for we media to earn more than 10000 a month?
【QT】Qt使用QJson生成json文件并保存
rsync远程同步
妙才周刊 - 8
After summarizing more than 800 kubectl aliases, I'm no longer afraid that I can't remember commands!
20220703 周赛:知道秘密的人数-动规(题解)
4 points tell you the advantages of the combination of real-time chat and chat robots
Transport layer protocol ----- UDP protocol
Initialize your vector & initializer with a list_ List introduction
如何获取localStorage中存储的所有值
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?
Learn PWN from CTF wiki - ret2libc1