OSPF实行报告

立山  金牌会员 | 2024-9-27 12:02:20 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 904|帖子 904|积分 2712


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

<Huawei>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
<r1>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 ] 
<r1>reset  o    
<r1>reset  ospf p    
<r1>reset  ospf process 
Warning: The OSPF process will be reset. Continue? [Y/N]:n
<r1>
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) 
<r1>
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) 
<r1>
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

<r1>
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) 
<r1>
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) 
<r1>
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)
 
<r1>
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) 
<r1>
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) 
<r1>
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

<r1>
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) 
<r1>
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) 
<r1>
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




免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

立山

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表