[r1]int loo0
[r1-LoopBack0]ip add 192.168.1.1 24
[r1-LoopBack0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 192.168.2.1
^
Error:Incomplete command found at ‘^’ position.
[r1-GigabitEthernet0/0/1]ip add 192.168.2.1 24
Feb 12 2021 20:59:56-08:00 r1 %%01IFNET/4/LINK_STATE(l)[0]: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
sy
Enter system view, return user view with Ctrl+Z.
[r1]ip rou
[r1]ip route
[r1]ip route-static 192.168.3.0 24 192.168.2.2
[r1]ip route-static 192.168.4.0 24 192.168.2.2
[r1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
ping 192.168.4.1
PING 192.168.4.1: 56 data bytes, press CTRL_C to break
Request time out
Reply from 192.168.4.1: bytes=56 Sequence=2 ttl=252 time=90 ms
Reply from 192.168.4.1: bytes=56 Sequence=3 ttl=252 time=40 ms
Reply from 192.168.4.1: bytes=56 Sequence=4 ttl=252 time=20 ms
Reply from 192.168.4.1: bytes=56 Sequence=5 ttl=252 time=30 ms
— 192.168.4.1 ping statistics —
5 packet(s) transmitted
4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 20/45/90 ms
[r2]int loo0
[r2-LoopBack0]ip add 2.2.2.2 24
[r2-LoopBack0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 23.1.1.1 24
Feb 12 2021 19:55:13-08:00 r2 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r2-GigabitEthernet0/0/1]
[r2-GigabitEthernet0/0/1]q
[r2]ospf 1 rou
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]ar 0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 23.1.1.1 0.0.0.0
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:19-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:28-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:29-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchan
ge)
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)
[r2-ospf-1-area-0.0.0.0]
Feb 12 2021 19:58:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, NeighborE
vent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-1-area-0.0.0.0]q
[r2-ospf-1]di
[r2-ospf-1]dialer
[r2-ospf-1]display ospf peer br
[r2-ospf-1]display ospf peer brief
OSPF Process 1 with Router ID 2.2.2.2
Peer Statistic Information
Area Id Interface Neighbor id State
0.0.0.0 GigabitEthernet0/0/1 3.3.3.3 Full
[r2-ospf-1]
Feb 12 2021 20:01:27-08:00 r2 %%01OSPF/3/NBR_DOWN_REASON(l)[10]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/1,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2021-02-12 20:01:27-08:00)
[r2-ospf-1]
Feb 12 2021 20:01:27-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, Neighbor
Event=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
[r2-ospf-1]
Feb 12 2021 20:01:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, Neighbor
Event=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[r2-ospf-1]
Feb 12 2021 20:01:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, Neighbor
Event=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Excha
nge)
[r2-ospf-1]
Feb 12 2021 20:01:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, Neighbor
Event=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading
)
[r2-ospf-1]
Feb 12 2021 20:01:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.23, Neighbor
Event=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-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
ping 47.1.1.2
PING 47.1.1.2: 56 data bytes, press CTRL_C to break
Request time out
Request time out
Request time out
Request time out
Request time out
— 47.1.1.2 ping statistics —
5 packet(s) transmitted
0 packet(s) received
100.00% packet loss
ping 47.1.1.2
PING 47.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 47.1.1.2: bytes=56 Sequence=1 ttl=253 time=40 ms
Reply from 47.1.1.2: bytes=56 Sequence=2 ttl=253 time=20 ms
Reply from 47.1.1.2: bytes=56 Sequence=3 ttl=253 time=40 ms
Reply from 47.1.1.2: bytes=56 Sequence=4 ttl=253 time=30 ms
Reply from 47.1.1.2: bytes=56 Sequence=5 ttl=253 time=50 ms
— 47.1.1.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/36/50 ms