当前位置:网站首页>HCIA -- OSPF experimental report
HCIA -- OSPF experimental report
2022-07-19 15:57:00 【boy-s6】
Question request :
Problem analysis :
1、 Subnet partition topology

2、 Configure router loopback address and interface ip
AR1
<Huawei>system-view
<Huawei>sysname r1
<r1>int loopBack 1
[r1-LoopBack1]ip add 192.168.1.65 26
[r1-LoopBack1]q
[r1]int GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ip address 192.168.1.1 29
AR2
<Huawei>system-view
[Huawei]sysname r2
[r2]int LoopBack 1
[r2-LoopBack1]ip address 192.168.1.129 26
[r2-LoopBack1]int g0/0/0
[r2-GigabitEthernet0/0/0]ip address 192.168.1.2 29
AR3
<Huawei>system-view
[Huawei]sysname r3
[r3]int LoopBack 1
[r3-LoopBack1]ip address 192.168.1.193 26
[r3-LoopBack1]int g0/0/0
[r3-GigabitEthernet0/0/0]ip address 192.168.1.3 29
[r3-GigabitEthernet0/0/0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip address 192.168.1.9 29
AR4
<Huawei>system-view
[Huawei]sysname r4
[r4]int LoopBack 1
[r4-LoopBack1]ip address 4.4.4.4 24
[r4-LoopBack1]int g0/0/0
[r4-GigabitEthernet0/0/0]ip address 192.168.1.10 29
3、 start-up ospf And declare
AR1
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.65 0.0.0.0
[r1-ospf-1-area-0.0.0.0]network 192.168.1.1 0.0.0.0
AR2
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]network 192.168.1.129 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 192.168.1. 2 0.0.0.0
AR3
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]network 192.168.1.193 0.0.0.0
[r3-ospf-1-area-0.0.0.0]network 192.168.1.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]q
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]network 192.168.1.9 0.0.0.0
AR4
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 1
[r4-ospf-1-area-0.0.0.1]network 192.168.1.10 0.0.0.0
4、AR3 by DR equipment , No, BDR equipment , take AR1、AR2、AR3 The interface priority of is set to 0 that will do
[r1-GigabitEthernet0/0/0]ospf dr-priority 0
[r2-GigabitEthernet0/0/0]ospf dr-priority 0
[r4-GigabitEthernet0/0/0]ospf dr-priority 0
see ospf
5、 Network wide accessibility ,R4 Changing back address cannot announce
Need to be AR4 Configuration on router Default route
[r4-ospf-1]default-route-advertise always
see AR3 Routing table
Be careful :AR2、AR1 similar
6、 To ensure the security of updates
Configure authentication on each router interface
[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r3-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher 123456
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
7、 Avoid loops and reduce the number of routing entries
Yes ip Conduct area (0 and 1) Summary , Area 1 There is only one route in , There is no need to summarize
r3]ospf 1
[r3-ospf-1]ar 0
[r3-ospf-1-area-0.0.0.0]abr-summary 192.168.1.0 255.255.255.0
see AR4 Routing table
verification
边栏推荐
- Build intranet mail service through Qunhui Suite
- Qt | 控件之QComboBox
- Arkui FAQ summary [Series 2]
- Is Guotai Junan a regular securities company? Is it safe to open an account?
- 获取近30天的日期列表
- 【干货】MySQL底层架构设计,你了解多少?
- Online sql to text tool
- Work notes | talk about data quality audit
- Argument list too long causes and Solutions
- Which bank outlet in Chongqing can buy Ritz fund products?
猜你喜欢
es6解构赋值一学就会
Zhiniu stock -- 08
OpenCV-图像透明区裁剪ImageCroppingTRN
codeforce:B. Difference Array【前缀0的优化】
Identity server 4 uses openid connect to add user authentication (3)
Import excel file data into MySQL database
【FPGA】:ip核-----CIC滤波器
Series operations of stack and queue containers (detailed explanation)
windows安装mysql
Reflector uses detailed explanation to convert DLL files into CS file
随机推荐
LVS load balancing cluster
OpenCV-图像透明区裁剪ImageCroppingTRN
HCNP Routing&Switching之BFD
Windows install MySQL
Project practice of JWT symmetric and asymmetric encryption
Several scenarios of technical "brick house" solving problems
智牛股--08
2022 - 7 - 17
Lambda function and for items Sort (key = lambda y:y[1], reverse = true).
在线摇骰子色子工具
Work notes | talk about data quality audit
Arkui FAQ summary [Series 2]
Mysql 温故知新系列「触发器详解」
Argument list too long causes and Solutions
【FPGA】:ip核-----CIC滤波器
Upload files to remote devices through pyro4 command parameters
进阶C语言 - 结构体实现位段
几行代码,让黑白老照片重获新生!
【golang学习笔记1.6】 golang中的堆和栈
C language is trying to find the first and last positions of elements in the sorted array. Two methods