OSPF实验报告
创始人
2024-09-25 15:22:33
0

1、拓扑信息

2、要求及分析

3、配置截图

4.测试

2.area0 区域手工配置R1为DR 、R2为BDR:

修改接口优先级

3.R3-R5之间使用密文认证方式:

进入接口后选择MD5加密

4.R1、R2、R5上配置环回接口,但是R5环回不能宣告进OSPF:

配置环回地址,用缺省路由让R5不能宣告进OSPF(非强制性下发)

5.ping命令全网可达

AR1

sys
Enter system view, return user view with Ctrl+Z.
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.9 29
Mar 26 2023 22:15:33-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
 IP on the interface GigabitEthernet0/0/0 has entered the UP state. 
[Huawei-GigabitEthernet0/0/0]int  l 0
[Huawei-LoopBack0]ip add 192.168.1.65 26
[Huawei-LoopBack0]quit
[Huawei]ospf  1 router-id    1.1.1.1
[Huawei-ospf-1]area 0
[Huawei-ospf-1-area-0.0.0.0]network  192.168.1.65 0.0.0.0
[Huawei-ospf-1-area-0.0.0.0]network  192.168.1.9 0.0.0.0
[Huawei-ospf-1-area-0.0.0.0]int  g   0/0/0
[Huawei-GigabitEthernet0/0/0]ospf  dr-    
[Huawei-GigabitEthernet0/0/0]ospf  dr-priority   10
display ospf  peer 
 
     OSPF Process 1 with Router ID 1.1.1.1
         Neighbors 
 
 Area 0.0.0.0 interface 192.168.1.9(GigabitEthernet0/0/0)'s neighbors
 Router ID: 2.2.2.2          Address: 192.168.1.10    
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 192.168.1.10  BDR: 192.168.1.11  MTU: 0    
   Dead timer due in 34  sec 
   Retrans timer interval: 0 
   Neighbor is up for 00:00:19     
   Authentication Sequence: [ 0 ] 
 Router ID: 3.3.3.3          Address: 192.168.1.11    
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 192.168.1.10  BDR: 192.168.1.11  MTU: 0    
   Dead timer due in 29  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:00:19     
   Authentication Sequence: [ 0 ] 
reset  o    
reset  ospf p    
reset  ospf process 
Warning: The OSPF process will be reset. Continue? [Y/N]:n

Apr  1 2023 15:56:21-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[16]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=2.2.2.2, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2023-04-01 15:56:21-08:00) 

Apr  1 2023 15:56:21-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[17]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init) 

Apr  1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[18]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart


Apr  1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[19]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange) 

Apr  1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[20]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding) 

Apr  1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[21]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
 

Apr  1 2023 15:56:52-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[22]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2023-04-01 15:56:52-08:00) 

Apr  1 2023 15:56:52-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[23]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init) 

Apr  1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[24]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart


Apr  1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[25]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange) 

Apr  1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[26]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding) 

Apr  1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[27]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
 

4、测试

AR1---DR

AR2---BDR

相关内容

热门资讯

技术分享!(wpk)外挂透明挂... 相信很多朋友都在电脑上玩过wpk吧,但是很多朋友都在抱怨用电脑玩起来不方便。为此小编给大家带来了wp...
辅助透明挂!菠萝德州app有挂... 辅助透明挂!菠萝德州app有挂,德州之星app有外挂,哈糖大菠萝十三张胜率(有挂力荐)-哔哩哔哩;详...
推荐十款!wpk控制牌是真的,... 推荐十款!wpk控制牌是真的,(wePokEr)透视器下载,教你攻略(有挂爆料)-哔哩哔哩;超受欢迎...
必知教程!wepoker提高好... 必知教程!wepoker提高好牌率,hhpoker真的有透视吗,wepoker透视脚本免费app(2...
透明私人局!欢聚斗地主水鱼有挂... 透明私人局!欢聚斗地主水鱼有挂,乐游多少钱原来是有挂猫腻,实用技巧(有挂实锤)-哔哩哔哩,欢聚斗地主...
3分钟辅助挂!轰趴大菠萝十三水... 3分钟辅助挂!轰趴大菠萝十三水,wepoke智能ai,aapoker软件有猫腻(有挂来袭)-哔哩哔哩...
一分钟了解!hh poker插... 一分钟了解!hh poker插件下载,(WepokEr)透视脚本神器,解密教程(有挂教会)-哔哩哔哩...
教学盘点!(德扑之星比赛)外挂... 教学盘点!(德扑之星比赛)外挂透明挂辅助透视(透视)必备教程(2020已更新)(哔哩哔哩);人气非常...
如何分辨真伪!wepoker私... 如何分辨真伪!wepoker私人局可以透视,wejoker私人辅助软件,wepoker辅助透视软件(...
玩家必看攻略!(琼瑶互娱骨牌)... 玩家必看攻略!(琼瑶互娱骨牌)外挂透明挂辅助插件(辅助挂)新版2024教程(2021已更新)(哔哩哔...