中小型公司不同区域ospf实现互通

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了中小型公司不同区域ospf实现互通相关的知识,希望对你有一定的参考价值。

实验名称:中小型公司不同区域ospf实现互通

实验拓扑:技术分享图片

实验所需设备:
7台路由器
2台PC机

地址规划:

设备 IP 子网掩码
pc1 192.168.9.5 /24
PC2 192.168.10.5 /24
设备 端口 IP地址 子网掩码 所属区域
AR1 G0/0/1 192.168.1.1 /24 0区域
AR1 G0/0/0 192.168.5.1/ 24 2区域
AR2 G0/0/0 192.168.1.2 /24 0区域
AR2 G0/0/1 192.168.2.1 /24 0区域
AR2 G0/0/2 192.168.6.1 /24 0区域
AR3 G0/0/0 192.168.2.2 /24 0区域
AR3 G0/0/1 192.168.3.1 /24 1区域
AR4 G0/0/0 192.168.6.2 /24 0区域
AR4 G0/01 192.168.7.1 /24 2区域
AR5 G0/0/0 192.168.7.2 /24 2区域
AR5 G0/0/1 192.168.5.2 /24 2区域
AR5 G0/0/2 192.168.8.1 /24 3区域
AR5 G4/0/0 192.168.9.254/ 24 2区域
AR6 G0/0/0 192.168.3.2 /24 1区域
AR6 G0/0/1 192.168.4.254/ 24 1区域
AR7 G0/0/0 192.168.8.2 /24 3区域
AR7 G0/0/1 192.168.10.254/ 24 3区域

实验目的:实现不同区域之间互通

实验步骤:

 配置AR1

<Huawei>SYS

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.1.1 255.255.255.0

Jan 18 2018 17:47:27-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]q

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.5.1 255.255.255.0

Jan 18 2018 17:50:04-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.

[Huawei-GigabitEthernet0/0/0]q

[Huawei]int l

[Huawei]int LoopBack 1

[Huawei]int LoopBack 1

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]

[Huawei-LoopBack1]ip add 10.10.1.1 255.255.255.0

[Huawei-LoopBack1]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 r

[Huawei]ospf router-id 1.1.1.1

[Huawei-ospf-1]area 0

[Huawei-ospf-1-area-0.0.0.0]ne

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]network

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.0]network 10

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.0]network 10

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.0]network 10

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.0]network 10

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.0]network 10.

Jan 18 2018 18:01:07-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.1.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.0]network 10.10.1.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]q

[Huawei-ospf-1]area 2

[Huawei-ospf-1-area-0.0.0.2]net

[Huawei-ospf-1-area-0.0.0.2]network 192.168.5.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:51-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.5.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:55-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.5.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:55-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.5.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:55-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.5.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:55-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.5.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]ospf

[Huawei-ospf-1]area 2

[Huawei-ospf-1-area-0.0.0.2]v

[Huawei-ospf-1-area-0.0.0.2]vlink-peer 5.5.5.5

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:21-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[0]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=5.5.5.5, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:21-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)
[1]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=5.5.5.5, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:21-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[2]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=5.5.5.5, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:21-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[3]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=5.5.5.5, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:21-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[4]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=5.5.5.5, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2]

  配置AR2

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.2 255.255.255.0

Jan 18 2018 17:47:51-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]q

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.2.1 255.255.255.0

Jan 18 2018 17:48:08-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]q

[Huawei]int g0/0/2

[Huawei-GigabitEthernet0/0/2]undo shutdown

Info: Interface GigabitEthernet0/0/2 is not shutdown.

[Huawei-GigabitEthernet0/0/2]ip add 192.168.6.1 255.255.255.0

Jan 18 2018 17:50:39-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP on the interface GigabitEthernet0/0/2 has entered the UP state.

[Huawei-GigabitEthernet0/0/2]q

[Huawei]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.2.2 255.255.255.0

[Huawei-LoopBack1]

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 r

[Huawei]ospf router-id 2.2.2.2

[Huawei-ospf-1]area 0

[Huawei-ospf-1-area-0.0.0.0]net

[Huawei-ospf-1-area-0.0.0.0]network 192.168.2.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)
[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 00

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.2.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]network 10.10.2.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]q

[Huawei-ospf-1]

Jan 18 2018 18:01:01-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes event: neighbor status changed. (ProcessId=256,
NeighborAddress=1.1.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1]

Jan 18 2018 18:01:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1]

Jan 18 2018 18:01:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1]

Jan 18 2018 18:01:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1]
Jan 18 2018 18:01:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1]

[Huawei-ospf-1]area 0

[Huawei-ospf-1-area-0.0.0.0]ne

[Huawei-ospf-1-area-0.0.0.0]network 192.168.6.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:02:37-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:02:46-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:03:10-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:03:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:03:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:03:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[16]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.6.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.0]

             配置AR3

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.2.2 255.255.255.0

Jan 18 2018 17:48:27-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]q

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.3.1 255.255.255.0

Jan 18 2018 17:48:44-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]

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]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.3.3 255.255.255.0

[Huawei-LoopBack1]q

[Huawei]ospf r

[Huawei]ospf router-id 3.3.3.3

[Huawei-ospf-1]area 1

[Huawei-ospf-1-area-0.0.0.1]ne

[Huawei-ospf-1-area-0.0.0.1]network 192.168.3.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.3.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.1]q

[Huawei-ospf-1]area 0

[Huawei-ospf-1-area-0.0.0.0]ne

[Huawei-ospf-1-area-0.0.0.0]network 192.168.2.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]network 10.10.3.3 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]q

[Huawei-ospf-1]

Jan 18 2018 18:00:09-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.2.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1]

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.2.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1]

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.2.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1]

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.2.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1]

Jan 18 2018 18:00:15-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.2.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1]

  配置AR4

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.6.2 255.255.255.0

Jan 18 2018 17:51:01-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]q

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.7.1 255.255.255.0

Jan 18 2018 17:51:25-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]

[Huawei-GigabitEthernet0/0/1]q

[Huawei]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.4.4 255.255.255.0

[Huawei-LoopBack1]

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 r

[Huawei]ospf router-id 4.4.4.4

[Huawei-ospf-1]area 0

[Huawei-ospf-1-area-0.0.0.0]ne

[Huawei-ospf-1-area-0.0.0.0]network 192.168.6.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:02:38-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.0]

Jan 18 2018 18:02:38-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.0]network 10.10.6.6 0.0.0.0

[Huawei-ospf-1-area-0.0.0.0]q

[Huawei-ospf-1]area 2

[Huawei-ospf-1-area-0.0.0.2]ne

[Huawei-ospf-1-area-0.0.0.2]network 192.168.7.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:14-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:14-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:14-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:14-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.6.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:03:59-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.7.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:04:05-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.7.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:04:05-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.7.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:04:05-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.7.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 18:04:05-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.7.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2]

     配置AR5

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.5.2 255.255.255.0

Jan 18 2018 17:51:59-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]q

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.7.2 255.255.255.0

Jan 18 2018 17:52:15-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.

[Huawei-GigabitEthernet0/0/0]q

[Huawei]int g0/0/2

[Huawei-GigabitEthernet0/0/2]undo shutdown

Info: Interface GigabitEthernet0/0/2 is not shutdown.

[Huawei-GigabitEthernet0/0/2]ip add 192.168.8.1 255.255.255.0

Jan 18 2018 17:52:32-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP on the interface GigabitEthernet0/0/2 has entered the UP state.

[Huawei-GigabitEthernet0/0/2]q

[Huawei]int g4/0/0

[Huawei-GigabitEthernet4/0/0]undo shutdown

Info: Interface GigabitEthernet4/0/0 is not shutdown.

[Huawei-GigabitEthernet4/0/0]ip add 192.168.9.254 255.255.255.0

Jan 18 2018 17:52:51-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP on the interface GigabitEthernet4/0/0 has entered the UP state.

[Huawei-GigabitEthernet4/0/0]q

[Huawei]

[Huawei]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.5.5 255.255.255.0

[Huawei-LoopBack1]

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 r

[Huawei]ospf router-id 5.5.5.5

[Huawei-ospf-1]area 2

[Huawei-ospf-1-area-0.0.0.2]n

[Huawei-ospf-1-area-0.0.0.2]network 192.168.5.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.2]network 192.168.5

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.

Jan 18 2018 18:03:54-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.5.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.7.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.

Jan 18 2018 18:04:06-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.7.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2]network 192.168.9.254 0.0.0.0

[Huawei-ospf-1-area-0.0.0.2]q

[Huawei-ospf-1]area 3

[Huawei-ospf-1-area-0.0.0.3]ne

[Huawei-ospf-1-area-0.0.0.3]network 192.168.8.1 0.0.0.0

[Huawei-ospf-1-area-0.0.0.3]

Jan 18 2018 18:05:26-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.8.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.3]

Jan 18 2018 18:05:28-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.8.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.3]

Jan 18 2018 18:05:28-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.8.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.3]

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.8.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.3]

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[16]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=2.8.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.3]

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-1-area-0.0.0.3]q

[Huawei-ospf-1]area 2

[Huawei-ospf-1-area-0.0.0.2]v

[Huawei-ospf-1-area-0.0.0.2]vlink-peer 1.1.1.1

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:10-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[0]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=1.1.1.1, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:19-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[1]:Virtual link peer event: neighbor status changed. (ProcessId=256,
VirtualLinkNeighborAddress=1.1.1.1, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:19-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[2]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=1.1.1.1, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:19-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[3]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=1.1.1.1, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.2]

Jan 18 2018 19:45:19-08:00 Huawei %%01OSPF/4/VLINK_NBR_CHG_E(l)[4]:Virtual link peer event: neighbor status changed. (ProcessId=256, VirtualLinkNeighborAddress=1.1.1.1, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.2][Huawei-ospf-1]area 2

     配置AR6

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.3.2 255.255.255.0

Jan 18 2018 17:49:09-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]q

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.4.254 255.255.255.0

Jan 18 2018 17:49:24-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]

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]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.6.6 255.255.255.0

[Huawei-LoopBack1]q

[Huawei]ospf

[Huawei]ospf ro

[Huawei]ospf router-id 6.6.6.6

[Huawei-ospf-1]area 1

[Huawei-ospf-1-area-0.0.0.1]net

[Huawei-ospf-1-area-0.0.0.1]network 192.168.3.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.1]network 192.168.4.254 0.0.0.0

[Huawei-ospf-1-area-0.0.0.1]q

[Huawei-ospf-1]area 1

[Huawei-ospf-1-area-0.0.0.1]net

[Huawei-ospf-1-area-0.0.0.1]network 10.10.6.6 0.0.0.0

[Huawei-ospf-1-area-0.0.0.1]q

[Huawei-ospf-1]

Jan 18 2018 17:59:05-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.3.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.3.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)

[Huawei-ospf-1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.3.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.3.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1]

Jan 18 2018 17:59:11-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.3.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1]

    配置AR7

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]int g0/0/0

[Huawei-GigabitEthernet0/0/0]undo shutdown

Info: Interface GigabitEthernet0/0/0 is not shutdown.

[Huawei-GigabitEthernet0/0/0]ip add 192.168.8.2 255.255.255.0

Jan 18 2018 17:53:16-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]q

[Huawei]int g0/0/1

[Huawei-GigabitEthernet0/0/1]undo shutdown

Info: Interface GigabitEthernet0/0/1 is not shutdown.

[Huawei-GigabitEthernet0/0/1]ip add 192.168.10.254 255.255.255.0

Jan 18 2018 17:53:43-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]

[Huawei-GigabitEthernet0/0/1]q

[Huawei]int l

[Huawei]int LoopBack 1

[Huawei-LoopBack1]ip add 10.10.7.7 255.255.255.0

[Huawei-LoopBack1]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>

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

[Huawei]ospf r

[Huawei]ospf router-id 7.7.7.7

[Huawei-ospf-1]area 3

[Huawei-ospf-1-area-0.0.0.3]n

[Huawei-ospf-1-area-0.0.0.3]network192.168.8.2 0.0.0.0
^
Error: Unrecognized command found at ‘^‘ position.

[Huawei-ospf-1-area-0.0.0.3]ne

[Huawei-ospf-1-area-0.0.0.3]network 192.168.8.2 0.0.0.0

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exchange)

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loading)

[Huawei-ospf-1-area-0.0.0.3]network

Jan 18 2018 18:05:29-08:00 Huawei %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes event: neighbor status changed. (ProcessId=256, NeighborAddress=1.8.168.192, NeighborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)

[Huawei-ospf-1-area-0.0.0.3]network 192.168.10.254 0.0.0.0

[Huawei-ospf-1-area-0.0.0.3]network 10.10.7.7 0.0.0.0

[Huawei-ospf-1-area-0.0.0.3]

Please check whether system data has been changed, and save data in time

Configuration console time out, please press any key to log on

    验证测试:

            PC1 ping PC2  PC1 ping PC 3

            ![](http://i2.51cto.com/images/blog/201801/18/171af15c3435b88fe850ee92bd5adc47.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)

            注意:
                    通过虚链路建立的ospf邻居关系,永远属于区域0;虚链路的建立,是依靠底层的真实链路所在的区域来传输
        Ospf报文的(hello等)所以如果底层的“穿越/传输区域”不稳定的话,则会导致上层的“虚链路”不稳定,则影响整个网络的骨干区域的稳定性。

所以,一般不建议使用这种方式。
如果不得不使用,那么也仅仅是临时的解决方案。

以上是关于中小型公司不同区域ospf实现互通的主要内容,如果未能解决你的问题,请参考以下文章

小型网络架构—运用OSPF实现不同区域间网络的互通

中小型企业网络构建 OSPF 多区域配置

小型公司案例-配置OSPF实现不连续区域网络通信

OSPF高级配置实现全网互通

ospf不同区域的互通

ospf不连续区域网络互通