1.拓扑图
2.需求分析
1.整个网络IP地址为192.168.1.0/24
2.area 0区域手工设置R1、R2为BDR
3.R3-R5之间使用密文认证方式
4.R1、R2、R5上配置环回接口,但是R5环回接口不能宣告进OSPF
5.全网可达
3.配置内容
[r1]int
[r1]interface g
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 192.168.193 28
^
Error: Wrong parameter found at '^' position.
[r1-GigabitEthernet0/0/0]q
[r1]ip address 192.168.1.193 28
^
Error: Unrecognized command found at '^' position.
[r1]int
[r1]interface g
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ip add
[r1-GigabitEthernet0/0/0]ip address 192.168.1.193 28
[r1-GigabitEthernet0/0/0]q
[r1]int 1 0
^
Error: Wrong parameter found at '^' position.
[r1]loo
[r1]loop-detect
[r1]loop-detect q
^
Error: Unrecognized command found at '^' position.
[r1]loopb
[r1]loopback0
[r1]loopback0
^
Error: Unrecognized command found at '^' position.
[r1]loopback0
^
Error: Unrecognized command found at '^' position.
[r1]int
[r1]interface loop
[r1]interface LoopBack 0
[r1-LoopBack0]ip add
[r1-LoopBack0]ip address 192.168.1.1 26
[r1-LoopBack0]
May 13 2023 21:53:44-08:00 r1 %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEthern
et0/0/0 has turned into UP state.
[r1-LoopBack0]
May 13 2023 21:53:44-08:00 r1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-LoopBack0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]ping 192.168.1.195
PING 192.168.1.195: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.195: bytes=56 Sequence=1 ttl=255 time=320 ms
Reply from 192.168.1.195: bytes=56 Sequence=2 ttl=255 time=70 ms
Reply from 192.168.1.195: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 192.168.1.195: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 192.168.1.195: bytes=56 Sequence=5 ttl=255 time=40 ms
--- 192.168.1.195 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/100/320 ms
[r1]int
[r1]interface g
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ospf dr
[r1-GigabitEthernet0/0/0]ospf dr-priority 100
[r1-GigabitEthernet0/0/0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]int
[r1]interface g 0/0/0
[r1-GigabitEthernet0/0/0]undo ospf dr-priority 100
^
Error:Too many parameters found at '^' position.
[r1-GigabitEthernet0/0/0]
[r1-GigabitEthernet0/0/0]q
[r1]undo ospf dr-priority 100
^
Error: Wrong parameter found at '^' position.
[r1]ospf 1 rou
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]a 0
[r1-ospf-1-area-0.0.0.0]net
[r1-ospf-1-area-0.0.0.0]network 192.168.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.0]nret
[r1-ospf-1-area-0.0.0.0]net
[r1-ospf-1-area-0.0.0.0]network 192.168.1.193 0.0.0.0
[r1-ospf-1-area-0.0.0.0]
May 13 2023 22:19:21-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=194.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r1-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=194.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[r1-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=194.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r1-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=194.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r1-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=194.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r1-ospf-1-area-0.0.0.0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r1>sys
Enter system view, return user view with Ctrl+Z.
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.1.128 26 192.168.1.195
<Huawei>
May 13 2023 21:53:52-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r2
[r2]int
[r2]interface g
[r2]interface GigabitEthernet 0/0/0
[r2-GigabitEthernet0/0/0]ip add
[r2-GigabitEthernet0/0/0]ip address 192.168.1.194 28
May 13 2023 21:54:39-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r2-GigabitEthernet0/0/0]q
[r2]int
[r2]interface loop
[r2]interface LoopBack 0
[r2-LoopBack0]ip
[r2-LoopBack0]ip add
[r2-LoopBack0]ip address 192.168.1.65 26
[r2-LoopBack0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ospf
[r2-GigabitEthernet0/0/0]ospf p
[r2-GigabitEthernet0/0/0]ospf dr
[r2-GigabitEthernet0/0/0]ospf dr-priority 50
[r2-GigabitEthernet0/0/0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]ospf
[r2]ospf 1
[r2]ospf 1 rou
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 192.168.1.65 0.0.0.0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 192.168.1.194 0.0.0.0
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r2-ospf-1-area-0.0.0.0]
May 13 2023 22:19:24-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=193.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-1-area-0.0.0.0]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]ip route-static 192.168.1.128 26 192.168.1.195
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r3
[r3]int
[r3]interface g
[r3]interface GigabitEthernet 0/0/0
[r3-GigabitEthernet0/0/0]ip add
[r3-GigabitEthernet0/0/0]ip address 192.168.1.195 28
May 13 2023 21:56:16-08:00 r3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r3-GigabitEthernet0/0/0]int
[r3-GigabitEthernet0/0/0]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip add
[r3-GigabitEthernet0/0/1]ip address 192.168.1.209 28
May 13 2023 21:57:07-08:00 r3 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r3-GigabitEthernet0/0/1]q
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ospf dr
[r3-GigabitEthernet0/0/0]ospf dr-priority 0
[r3-GigabitEthernet0/0/0]ospf au
[r3-GigabitEthernet0/0/0]ospf authentication-mode md
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 l ci
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher
^
Error:Incomplete command found at '^' position.
[r3-GigabitEthernet0/0/0]ospf au
[r3-GigabitEthernet0/0/0]ospf authentication-mode md
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 l cipher 123456
^
Error: Wrong parameter found at '^' position.
[r3-GigabitEthernet0/0/0]undo ospf dr
[r3-GigabitEthernet0/0/0]undo ospf dr-priority 0
[r3-GigabitEthernet0/0/0]q
[r3]int g 0/0/1
[r3-GigabitEthernet0/0/1]ospf
[r3-GigabitEthernet0/0/1]ospf au
[r3-GigabitEthernet0/0/1]ospf authentication-mode md
[r3-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher 123456
[r3-GigabitEthernet0/0/1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r3>
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]ospf 1 rou
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]net
[r3-ospf-1-area-0.0.0.0]network 192.168.1.195 0.0.0.0
[r3-ospf-1-area-0.0.0.0]area 1
[r3-ospf-1-area-0.0.0.1]
[r3-ospf-1-area-0.0.0.1]net
[r3-ospf-1-area-0.0.0.1]network 192.168.1.209 0.0.0.0
[r3-ospf-1-area-0.0.0.1]
May 13 2023 22:22:38-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=210.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r3-ospf-1-area-0.0.0.1]
May 13 2023 22:22:44-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=210.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[r3-ospf-1-area-0.0.0.1]
May 13 2023 22:22:44-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=210.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r3-ospf-1-area-0.0.0.1]
May 13 2023 22:22:44-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=210.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r3-ospf-1-area-0.0.0.1]
May 13 2023 22:22:44-08:00 r3 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=210.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
<r3>sys
Enter system view, return user view with Ctrl+Z.
[r3]ip rou
[r3]ip route
[r3]ip route-static 192.168.1.128 26 192.168.1.210
[r3]
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r4
[r4]int
[r4]interface g 0/0/0
[r4-GigabitEthernet0/0/0]ip add
[r4-GigabitEthernet0/0/0]ip address 192.168.1.210 28
May 13 2023 21:58:09-08:00 r4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r4-GigabitEthernet0/0/0]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip add
[r4-GigabitEthernet0/0/1]ip address 192.168.1.225 28
May 13 2023 21:58:48-08:00 r4 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r4-GigabitEthernet0/0/1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ospf au
[r4-GigabitEthernet0/0/0]ospf authentication-mode md
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r4-GigabitEthernet0/0/0]int g 0/0/1
[r4-GigabitEthernet0/0/1]ospf au
[r4-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher 123456
[r4-GigabitEthernet0/0/1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]ospf 1 rou
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 1
[r4-ospf-1-area-0.0.0.1]net
[r4-ospf-1-area-0.0.0.1]network 192.168.1.210 0.0.0.0
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:22:43-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=209.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r4-ospf-1-area-0.0.0.1]net
[r4-ospf-1-area-0.0.0.1]network 192.168.1.225 0.0.0.0
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:24:17-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=226.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=226.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=226.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=226.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r4-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=226.1.168.192, Nei
ghborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full
)
[r4-ospf-1-area-0.0.0.1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]ip rou
[r4]ip route
[r4]ip route-static 192.168.1.128 26 192.168.1.226
[r4]
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r5
[r5]int
[r5]interface g 0/0/0
[r5-GigabitEthernet0/0/0]ip add
[r5-GigabitEthernet0/0/0]ip address 192.168.1.226 28
[r5-GigabitEthernet0/0/0]
May 13 2023 21:59:23-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r5-GigabitEthernet0/0/0]q
[r5]int loop
[r5]int LoopBack 0
[r5-LoopBack0]ip add
[r5-LoopBack0]ip address 192.168.1.129 26
[r5-LoopBack0]q
[r5]display ip int b
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.226/28 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 192.168.1.129/26 up up(s)
NULL0 unassigned up up(s)
[r5]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r5>sys
Enter system view, return user view with Ctrl+Z.
[r5]inter g 0/0/0
[r5-GigabitEthernet0/0/0]ospf au
[r5-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r5-GigabitEthernet0/0/0]q
[r5]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r5>sys
Enter system view, return user view with Ctrl+Z.
[r5]ospf 1 rou
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]area 1
[r5-ospf-1-area-0.0.0.1]net
[r5-ospf-1-area-0.0.0.1]network 192.168.1.226 0.0.0.0
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[r5-ospf-1-area-0.0.0.1]
May 13 2023 22:24:18-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=225.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r5-ospf-1-area-0.0.0.1]q
[r5-ospf-1]q
[r5]
4.测试结果