【无标题】

 

<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r1	
[r1]interface g0/0/0
[r1-GigabitEthernet0/0/0]ip address 12.1.1.1 24
Nov 22 2022 09:20:23-08:00 r1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r1-GigabitEthernet0/0/0]in g 0/0/1	
[r1-GigabitEthernet0/0/1]ip address 192.168.1.1 24
Nov 22 2022 09:20:41-08:00 r1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r1-GigabitEthernet0/0/1]in g 0/0/2
[r1-GigabitEthernet0/0/2]ip address 192.16.1.1 24
[r1-GigabitEthernet0/0/2]
Nov 22 2022 09:21:32-08:00 r1 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r1-GigabitEthernet0/0/2]quit	
[r1]interface LoopBack 0
[r1-LoopBack0]ip address 1.1.1.1 24
[r1-LoopBack0]quit
[r1]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 16       Routes : 16       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        1.1.1.0/24  Direct  0    0           D   1.1.1.1         LoopBack0
        1.1.1.1/32  Direct  0    0           D   127.0.0.1       LoopBack0
      1.1.1.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       12.1.1.0/24  Direct  0    0           D   12.1.1.1        GigabitEthernet
0/0/0
       12.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     12.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
     192.16.1.0/24  Direct  0    0           D   192.16.1.1      GigabitEthernet
0/0/2
     192.16.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/2
   192.16.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/2
    192.168.1.0/24  Direct  0    0           D   192.168.1.1     GigabitEthernet
0/0/1
    192.168.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
  192.168.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r1]ospf 1 router-id 1.1.1.1	
[r1-ospf-1]area 1
[r1-ospf-1-area-0.0.0.1]network 12.1.1.2 0.0.0.0	
[r1-ospf-1-area-0.0.0.1]network 192.168.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.1]network 192.16.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.1]network 12.1.1.0 0.0.0.255
[r1-ospf-1-area-0.0.0.1]network 192.168.1.0 0.0.0.255	
[r1-ospf-1-area-0.0.0.1]network 192.16.1.0 0.0.0.255
[r1-ospf-1-area-0.0.0.1]network 1.1.1.1 0.0.0.0
[r1-ospf-1-area-0.0.0.1]quit
[r1-ospf-1]quit
[r1]
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r2
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ip address 12.1.1.2 24
Nov 22 2022 09:24:49-08:00 r2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r2-GigabitEthernet0/0/0]in g 0/0/1	
[r2-GigabitEthernet0/0/1]ip address 23.1.1.1 24
Nov 22 2022 09:25:07-08:00 r2 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r2-GigabitEthernet0/0/1]quit	
[r2]interface LoopBack 0
[r2-LoopBack0]ip address 2.2.2.2 24
[r2-LoopBack0]quit
[r2]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 13       Routes : 13       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        2.2.2.0/24  Direct  0    0           D   2.2.2.2         LoopBack0
        2.2.2.2/32  Direct  0    0           D   127.0.0.1       LoopBack0
      2.2.2.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       12.1.1.0/24  Direct  0    0           D   12.1.1.2        GigabitEthernet
0/0/0
       12.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     12.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
       23.1.1.0/24  Direct  0    0           D   23.1.1.1        GigabitEthernet
0/0/1
       23.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r2]ospf 1 router-id 2.2.2.2	
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]network 12.1.1.1 0.0.0.0	
[r2-ospf-1-area-0.0.0.1]network 23.1.1.2 0.0.0.0
[r2-ospf-1-area-0.0.0.1]network 12.1.1.0 0.0.0.255
[r2-ospf-1-area-0.0.0.1]network 23.1.1.0 0.0.0.255
[r2-ospf-1-area-0.0.0.1]network 2.2.2.2 0.0.0.0
[r2-ospf-1-area-0.0.0.1]quit
[r2-ospf-1]quit
[r2]
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.	
[Huawei]sysname r3	
[r3]interface g0/0/0	
[r3-GigabitEthernet0/0/0]ip address 23.1.1.2 24
Nov 22 2022 09:26:41-08:00 r3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r3-GigabitEthernet0/0/0]in g 0/0/1
[r3-GigabitEthernet0/0/1]ip address 123.1.1.1 24
Nov 22 2022 09:27:06-08:00 r3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r3-GigabitEthernet0/0/1]quit	
[r3]interface LoopBack 0
[r3-LoopBack0]ip address 3.3.3.3 24
[r3-LoopBack0]quit
[r3]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 13       Routes : 13       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        3.3.3.0/24  Direct  0    0           D   3.3.3.3         LoopBack0
        3.3.3.3/32  Direct  0    0           D   127.0.0.1       LoopBack0
      3.3.3.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       23.1.1.0/24  Direct  0    0           D   23.1.1.2        GigabitEthernet
0/0/0
       23.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
     23.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      123.1.1.0/24  Direct  0    0           D   123.1.1.1       GigabitEthernet
0/0/1
      123.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
    123.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r3]ospf 1 router-id 3.3.3.3	
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]network 23.1.1.1 0.0.0.0	
[r3-ospf-1-area-0.0.0.0]network 23.1.1.0 0.0.0.255
[r3-ospf-1-area-0.0.0.0]network 123.1.1.0 0.0.0.255
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]quit
[r3-ospf-1]quit
[r3]
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.	
[Huawei]sysname r4
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]ip address 123.1.1.2 24
Nov 22 2022 09:28:31-08:00 r4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r4-GigabitEthernet0/0/0]in g 0/0/1	
[r4-GigabitEthernet0/0/1]ip address 45.1.1.1 24
Nov 22 2022 09:28:48-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r4-GigabitEthernet0/0/1]quit	
[r4]interface LoopBack 0
[r4-LoopBack0]ip address 4.4.4.4 24
[r4-LoopBack0]quit
[r4]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 13       Routes : 13       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        4.4.4.0/24  Direct  0    0           D   4.4.4.4         LoopBack0
        4.4.4.4/32  Direct  0    0           D   127.0.0.1       LoopBack0
      4.4.4.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       45.1.1.0/24  Direct  0    0           D   45.1.1.1        GigabitEthernet
0/0/1
       45.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     45.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      123.1.1.0/24  Direct  0    0           D   123.1.1.2       GigabitEthernet
0/0/0
      123.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
    123.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 2	
[r4-ospf-1-area-0.0.0.2]network 45.1.1.2 0.0.0.0	
[r4-ospf-1-area-0.0.0.2]network 123.1.1.0 0.0.0.255	
[r4-ospf-1-area-0.0.0.2]network 45.1.1.0 0.0.0.255
[r4-ospf-1-area-0.0.0.2]network 4.4.4.4 0.0.0.0
[r4-ospf-1-area-0.0.0.2]quit
[r4-ospf-1]quit
[r4]
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.	
[Huawei]sysname r5
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]ip address 123.1.1.3 24
Nov 22 2022 09:31:10-08:00 r5 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r5-GigabitEthernet0/0/0]in g 0/0/1	
[r5-GigabitEthernet0/0/1]ip address 45.1.1.2 24
Nov 22 2022 09:31:28-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r5-GigabitEthernet0/0/1]in g 0/0/2	
[r5-GigabitEthernet0/0/2]ip address 56.1.1.1 24
[r5-GigabitEthernet0/0/2]
Nov 22 2022 09:31:51-08:00 r5 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/2 has entered the UP state. 
[r5-GigabitEthernet0/0/2]quit
[r5]interface LoopBack 0	
[r5-LoopBack0]ip address 5.5.5.5 24
[r5-LoopBack0]quit
[r5]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 16       Routes : 16       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        5.5.5.0/24  Direct  0    0           D   5.5.5.5         LoopBack0
        5.5.5.5/32  Direct  0    0           D   127.0.0.1       LoopBack0
      5.5.5.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       45.1.1.0/24  Direct  0    0           D   45.1.1.2        GigabitEthernet
0/0/1
       45.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     45.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
       56.1.1.0/24  Direct  0    0           D   56.1.1.1        GigabitEthernet
0/0/2
       56.1.1.1/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/2
     56.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/2
      123.1.1.0/24  Direct  0    0           D   123.1.1.3       GigabitEthernet
0/0/0
      123.1.1.3/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
    123.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]area 2	
[r5-ospf-1-area-0.0.0.2]network 45.1.1.1 0.0.0.0	
[r5-ospf-1-area-0.0.0.2]network 56.1.1.2 0.0.0.0	
[r5-ospf-1-area-0.0.0.2]network 123.1.1.0 0.0.0.255 
[r5-ospf-1-area-0.0.0.2]network 45.0.0.0 0.0.0.0
[r5-ospf-1-area-0.0.0.2]network 56.0.0.0 0.0.0.0
[r5-ospf-1-area-0.0.0.2]network 5.5.5.5 0.0.0.0
[r5-ospf-1-area-0.0.0.2]quit
[r5-ospf-1]quit
[r5]
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname r6	
[r6]interface g0/0/0
[r6-GigabitEthernet0/0/0]ip address 123.1.1.4 24
Nov 22 2022 09:33:34-08:00 r6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP 
on the interface GigabitEthernet0/0/0 has entered the UP state. 
[r6-GigabitEthernet0/0/0]in g 0/0/1
[r6-GigabitEthernet0/0/1]ip address 56.1.1.2 24
Nov 22 2022 09:33:48-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/1 has entered the UP state. 
[r6-GigabitEthernet0/0/1]quit	
[r6]interface LoopBack 0
[r6-LoopBack0]ip address 6.6.6.6 24
[r6-LoopBack0]quit
[r6]display ip routing-table 
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
         Destinations : 13       Routes : 13       

Destination/Mask    Proto   Pre  Cost      Flags NextHop         Interface

        6.6.6.0/24  Direct  0    0           D   6.6.6.6         LoopBack0
        6.6.6.6/32  Direct  0    0           D   127.0.0.1       LoopBack0
      6.6.6.255/32  Direct  0    0           D   127.0.0.1       LoopBack0
       56.1.1.0/24  Direct  0    0           D   56.1.1.2        GigabitEthernet
0/0/1
       56.1.1.2/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
     56.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/1
      123.1.1.0/24  Direct  0    0           D   123.1.1.4       GigabitEthernet
0/0/0
      123.1.1.4/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
    123.1.1.255/32  Direct  0    0           D   127.0.0.1       GigabitEthernet
0/0/0
      127.0.0.0/8   Direct  0    0           D   127.0.0.1       InLoopBack0
      127.0.0.1/32  Direct  0    0           D   127.0.0.1       InLoopBack0
127.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0
255.255.255.255/32  Direct  0    0           D   127.0.0.1       InLoopBack0

[r6]ospf 1 router-id 6.6.6.6	
[r6-ospf-1]area 2
[r6-ospf-1-area-0.0.0.2]network 56.1.1.1 0.0.0.0
[r6-ospf-1-area-0.0.0.2]network 123.1.1.0 0.0.0.255
[r6-ospf-1-area-0.0.0.2]network 56.0.0.0 0.0.0.0
[r6-ospf-1-area-0.0.0.2]network 6.6.6.6 0.0.0.0
[r6-ospf-1-area-0.0.0.2]quit
[r6-ospf-1]quit
[r6]

1.

[r4]interface g0/0/0	
[r4-GigabitEthernet0/0/0]ospf dr-priority 0
Nov 22 2022 15:52:23-08:00 r4 %%01OSPF/3/NBR_CHG_DOWN(l)[12]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=5.5.5.5, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r4-GigabitEthernet0/0/0]
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:23-08:00 r4 %%01OSPF/3/NBR_DOWN_REASON(l)[13]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=5.5.5.5, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:52:23-08:00) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:23-08:00 r4 %%01OSPF/3/NBR_CHG_DOWN(l)[14]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=6.6.6.6, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:23-08:00 r4 %%01OSPF/3/NBR_DOWN_REASON(l)[15]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=6.6.6.6, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:52:23-08:00) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[16]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[17]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[18]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[19]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[20]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:30-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[21]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[22]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[23]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[24]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[25]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[26]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r4-GigabitEthernet0/0/0]
Nov 22 2022 15:52:31-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[27]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r4-GigabitEthernet0/0/0]int g0/0/1	
[r4-GigabitEthernet0/0/1]ospf dr-priority 0
[r4-GigabitEthernet0/0/1]
Nov 22 2022 15:53:54-08:00 r4 %%01OSPF/3/NBR_DOWN_REASON(l)[28]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=5.5.5.5, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhel
lo Received, NeighborChangeTime=2022-11-22 15:53:54-08:00) 
[r4-GigabitEthernet0/0/1]
Nov 22 2022 15:53:54-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[29]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init) 
[r4-GigabitEthernet0/0/1]
Nov 22 2022 15:54:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[30]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r4-GigabitEthernet0/0/1]
Nov 22 2022 15:54:03-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[31]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r4-GigabitEthernet0/0/1]
[r5]interface g0/0/0	
[r5-GigabitEthernet0/0/0]ospf dr-priority 0
Nov 22 2022 15:53:54-08:00 r5 %%01OSPF/3/NBR_CHG_DOWN(l)[20]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=4.4.4.4, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r5-GigabitEthernet0/0/0]
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:53:54-08:00 r5 %%01OSPF/3/NBR_DOWN_REASON(l)[21]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=4.4.4.4, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:53:54-08:00) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:53:54-08:00 r5 %%01OSPF/3/NBR_CHG_DOWN(l)[22]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=6.6.6.6, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:53:54-08:00 r5 %%01OSPF/3/NBR_DOWN_REASON(l)[23]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=6.6.6.6, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:53:54-08:00) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:00-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[24]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:00-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[25]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:00-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[26]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[27]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[28]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[29]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[30]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[31]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exch
ange) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[32]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadin
g) 
[r5-GigabitEthernet0/0/0]
Nov 22 2022 15:54:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[33]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full) 

[r5-GigabitEthernet0/0/0]in g 0/0/1	
[r5-GigabitEthernet0/0/1]ospf dr-priority 0
[r5-GigabitEthernet0/0/1]
Nov 22 2022 15:56:03-08:00 r5 %%01OSPF/3/NBR_DOWN_REASON(l)[34]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=6.6.6.6, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhel
lo Received, NeighborChangeTime=2022-11-22 15:56:03-08:00) 
[r5-GigabitEthernet0/0/1]
Nov 22 2022 15:56:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[35]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init) 
[r5-GigabitEthernet0/0/1]
Nov 22 2022 15:56:03-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[36]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/1]in g
Nov 22 2022 15:56:12-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[37]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/1]in g
Nov 22 2022 15:56:12-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[38]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r5-GigabitEthernet0/0/1]in g
Nov 22 2022 15:56:12-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[39]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=4.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 

[r5-GigabitEthernet0/0/1]in g 0/0/2	
[r5-GigabitEthernet0/0/2]ospf dr-priority 0
[r5-GigabitEthernet0/0/2]
[r6]interface g 0/0/0	
[r6-GigabitEthernet0/0/0]ospf dr-priority 0
Nov 22 2022 15:56:02-08:00 r6 %%01OSPF/3/NBR_CHG_DOWN(l)[26]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=4.4.4.4, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r6-GigabitEthernet0/0/0]
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:02-08:00 r6 %%01OSPF/3/NBR_DOWN_REASON(l)[27]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=4.4.4.4, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:56:02-08:00) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:02-08:00 r6 %%01OSPF/3/NBR_CHG_DOWN(l)[28]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=5.5.5.5, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:02-08:00 r6 %%01OSPF/3/NBR_DOWN_REASON(l)[29]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=5.5.5.5, Neighbo
rAreaId=33554432, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate r
eason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Interface Para
meter Mismatch, NeighborChangeTime=2022-11-22 15:56:02-08:00) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:04-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[30]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:04-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[31]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:04-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[32]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:08-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[33]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:08-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[34]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:08-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[35]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 
[r6-GigabitEthernet0/0/0]
Nov 22 2022 15:56:08-08:00 r6 %%01OSPF/4/NBR_CHANGE_E(l)[36]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=3.1.1.123, Neighbo
rEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way) 

[r6-GigabitEthernet0/0/0]in g0/0/1	
[r6-GigabitEthernet0/0/1]ospf dr-priority 0
[r6-GigabitEthernet0/0/1]

2.

r1]interface g0/0/0	
[r1-GigabitEthernet0/0/0]ospf timer hello 5	
[r1-GigabitEthernet0/0/0]ospf timer dead 20
[r1-GigabitEthernet0/0/0]quit
[r1]
[r2]interface g0/0/0
[r2-GigabitEthernet0/0/0]ospf timer hello 5
[r2-GigabitEthernet0/0/0]ospf timer dead 20
[r2-GigabitEthernet0/0/0]quit
[r2]
[r3]interface g0/0/0
[r3-GigabitEthernet0/0/0]ospf timer hello 5
[r3-GigabitEthernet0/0/0]ospf timer dead 20
[r3-GigabitEthernet0/0/0]quit
[r3]
[r4]interface g0/0/0
[r4-GigabitEthernet0/0/0]ospf timer hello 5
[r4-GigabitEthernet0/0/0]ospf timer dead 20
[r4-GigabitEthernet0/0/0]quit
[r4]
[r5]interface g0/0/0
[r5-GigabitEthernet0/0/0]ospf timer hello 5
[r5-GigabitEthernet0/0/0]ospf timer dead 20
[r5-GigabitEthernet0/0/0]quit
[r5]
[r6]interface g0/0/0	
[r6-GigabitEthernet0/0/0]ospf timer hello 5
[r6-GigabitEthernet0/0/0]ospf timer dead 20
[r6-GigabitEthernet0/0/0]quit
[r6]

3.

[r4]ospf 1	
[r4-ospf-1]default-route-advertise

4.

[r1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.	
[r1]ip pool 1
Info: It's successful to create an IP address pool.	
[r1-ip-pool-1]network 192.168.1.0 mask 24	
[r1-ip-pool-1]gateway-list 192.168.1.1	
[r1-ip-pool-1]dns-list 8.8.8.8 114.114.114.114
[r1-ip-pool-1]static-bind ip-address 192.168.1.2 mac-address 5489-986F-02C0
r1]dhcp enable 
[r1]ip po	
[r1]ip pool 2
Info: It's successful to create an IP address pool.
[r1-ip-pool-2]network 192.16.1.0 mask 24	
[r1-ip-pool-2]gateway-list 192.16.1.1	
[r1-ip-pool-2]dns-list 8.8.8.8 114.114.114.114
[r1-ip-pool-2]static-bind ip-address 192.16.1.2 mac-address 5489-9896-59AC

5.

[r1]ospf 1	
[r1-ospf-1]area 1	
[r1-ospf-1-area-0.0.0.1]authentication-mode simple cipher 123
[r2]ospf 1
[r2-ospf-1]area 1
[r2-ospf-1-area-0.0.0.1]authentication-mode simple cipher 123
[r4]ospf 1
[r4-ospf-1]area 2	
[r4-ospf-1-area-0.0.0.2]authentication-mode simple cipher 123
[r4-ospf-1-area-0.0.0.2]authentication-mode md5
[r5]ospf 1
[r5-ospf-1]area 2
[r5-ospf-1-area-0.0.0.2]authentication-mode simple cipher 123	
[r5-ospf-1-area-0.0.0.2]authentication-mode md5
[r6]ospf 1
[r6-ospf-1]area 2	
[r6-ospf-1-area-0.0.0.2]authentication-mode simple cipher 123
[r6-ospf-1-area-0.0.0.2]authentication-mode md5

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值