R1
[Huawei]int lo0
[Huawei-LoopBack0]ip add 1.1.1.1 24
[Huawei-LoopBack0]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 12.1.1.1 24
Apr 26 2021 20:32:16-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-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
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]ospf 10 router
[Huawei]ospf 10 router-id 91.1.1.1
[Huawei-ospf-10]area 1
[Huawei-ospf-10-area-0.0.0.1]net
[Huawei-ospf-10-area-0.0.0.1]network 1.1.1.0 0.0.0.255
[Huawei-ospf-10-area-0.0.0.1]network 12.1.1.1 0.0.0.0
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=2.1.1.12, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=2.1.1.12, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=2.1.1.12, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=2.1.1.12, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=2.1.1.12, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[Huawei-ospf-10-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
R2
The device is running!
<Huawei>
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 12.1.1.2 24
Apr 26 2021 20:33:07-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 g 0/0/1
[Huawei-GigabitEthernet0/0/1]ip add 23.1.1.1 24
[Huawei-GigabitEthernet0/0/1]
Apr 26 2021 20:33:31-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]int lo0
[Huawei-LoopBack0]ip add 2.2.2.2 24
[Huawei-LoopBack0]q
[Huawei]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]ospf 10 router-id 92.2.2.2
[Huawei-ospf-10]area 1
[Huawei-ospf-10-area-0.0.0.1]netwo
[Huawei-ospf-10-area-0.0.0.1]network 12.1.1.2 0.0.0.0
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=1.1.1.12, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=1.1.1.12, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[Huawei-ospf-10-area-0.0.0.1]
Apr 26 2021 20:44:17-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes
event: neighbor status changed. (ProcessId=2560, NeighborAddress=1.1.1.12, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[Hua