R1的代码
The device is running!
<Huawei>
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYS
[Huawei]sysname R1
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add 11.0.0.2 24
Apr 15 2021 15:01:12-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add 12.0.0.1 24
Apr 15 2021 15:01:27-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R1-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
<R1>
<R1>
<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]int look
[R1]int look
[R1]int loop
[R1]int LoopBack
^
Error:Incomplete command found at '^' position.
[R1]int LoopBack 0
[R1-LoopBack0]ip add 1.1.1.1 32
[R1-LoopBack0]ospf 1 创建OSPF
[R1-ospf-1]int area 0
^
Error: Unrecognized command found at '^' position.
[R1-ospf-1]area 0 创建AREA 0 骨干区域
[R1-ospf-1-area-0.0.0.0]
[R1-ospf-1-area-0.0.0.0]net
[R1-ospf-1-area-0.0.0.0]network 11.0.0.0 24
^
Error: Wrong parameter found at '^' position.
[R1-ospf-1-area-0.0.0.0]network 11.0.0.0 0.0.0.255 //宣告直连网段
[R1-ospf-1-area-0.0.0.0]network 12.0.0.0 0.0.0.255
[R1-ospf-1-area-0.0.0.0]
Apr 15 2021 15:25:52-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.0.12, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R1-ospf-1-area-0.0.0.0]
Apr 15 2021 15:25:53-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.0.12, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[R1-ospf-1-area-0.0.0.0]
Apr 15 2021 15:25:53-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.0.12, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge)
[R1-ospf-1-area-0.0.0.0]
Apr 15 2021 15:25:53-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.0.0.12, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
[R