陈鑫
编写实验报告:
1、拓扑信息
2、要求及分析
3、配置截图
4.测试
1、拓扑信息
2、要求及分析
分析:
1.因为AR1、AR2、AR3与一台交换机相连,同属于一个广播域(掩码需相同),加上三个环回,以及AR3~AR5之间两个广播域,一共是六个广播域,也就是六个网段。
全网IP地址为192.168.1.0/24, 利用子网划分
192.168.1.0/24
思路:所有骨干链路当做一个网段,加上三个环回,一共是四个网段
四个借两位
192.168.1.00 000000/26---192.168.1.0/26---骨干
因为所需要的网段主机位为2个,可用IP为2个,不浪费,所以可化为掩码为30
192.168.1.00 0000 00/30---192.168.1.0/30---R3~R4
192.168.1.00 0001 00/30---192.168.1.4/30---R4~R5
192.168.1.00 0010 00/30 (AR1,AR2,AR3之间需要一个网段分配三个IP,所以需要汇总)
192.168.1.00 0011 00/30
192.168.1.00 001 000/29---192.168.1.8/29---R1,R2,R3
192.168.1.00 0100 00/30 (剩下的为保留地址)
192.168.1.00 0101 00/30
192.168.1.00 0110 00/30
192.168.1.00 0111 00/30
......
192.168.1.00 1111 00/30
192.168.1.01 000000/26---192.168.1.64/26---R1环回
192.168.1.10 000000/26---192.168.1.128/26---R2环回
192.168.1.11 000000/26---192.168.1.192/26---R5环回
2.area0 区域手工配置R1为DR 、R2为BDR:
修改接口优先级
3.R3-R5之间使用密文认证方式:
进入接口后选择MD5加密
4.R1、R2、R5上配置环回接口,但是R5环回不能宣告进OSPF:
配置环回地址,用缺省路由让R5不能宣告进OSPF(非强制性下发)
5.ping命令全网可达
3、配置截图
AR1
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.9 29
Mar 26 2023 22:15:33-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 l 0
[Huawei-LoopBack0]ip add 192.168.1.65 26
[Huawei-LoopBack0]quit
[Huawei]ospf 1 router-id 1.1.1.1
[Huawei-ospf-1]area 0
[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.65 0.0.0.0
[Huawei-ospf-1-area-0.0.0.0]network 192.168.1.9 0.0.0.0
[Huawei-ospf-1-area-0.0.0.0]int g 0/0/0
[Huawei-GigabitEthernet0/0/0]ospf dr-
[Huawei-GigabitEthernet0/0/0]ospf dr-priority 10
<r1>display ospf peer
OSPF Process 1 with Router ID 1.1.1.1
Neighbors
Area 0.0.0.0 interface 192.168.1.9(GigabitEthernet0/0/0)'s neighbors
Router ID: 2.2.2.2 Address: 192.168.1.10
State: Full Mode:Nbr is Master Priority: 1
DR: 192.168.1.10 BDR: 192.168.1.11 MTU: 0
Dead timer due in 34 sec
Retrans timer interval: 0
Neighbor is up for 00:00:19
Authentication Sequence: [ 0 ]
Router ID: 3.3.3.3 Address: 192.168.1.11
State: Full Mode:Nbr is Master Priority: 1
DR: 192.168.1.10 BDR: 192.168.1.11 MTU: 0
Dead timer due in 29 sec
Retrans timer interval: 5
Neighbor is up for 00:00:19
Authentication Sequence: [ 0 ]
<r1>reset o
<r1>reset ospf p
<r1>reset ospf process
Warning: The OSPF process will be reset. Continue? [Y/N]:n
<r1>
Apr 1 2023 15:56:21-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[16]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=2.2.2.2, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2023-04-01 15:56:21-08:00)
<r1>
Apr 1 2023 15:56:21-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[17]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
<r1>
Apr 1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[18]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
<r1>
Apr 1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[19]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
<r1>
Apr 1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[20]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
<r1>
Apr 1 2023 15:56:26-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[21]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=10.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
<r1>
Apr 1 2023 15:56:52-08:00 r1 %%01OSPF/3/NBR_DOWN_REASON(l)[22]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2023-04-01 15:56:52-08:00)
<r1>
Apr 1 2023 15:56:52-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[23]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
<r1>
Apr 1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[24]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
<r1>
Apr 1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[25]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
<r1>
Apr 1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[26]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
<r1>
Apr 1 2023 15:56:58-08:00 r1 %%01OSPF/4/NBR_CHANGE_E(l)[27]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
AR2
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r2
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ip add 192.168.1.10 29
Apr 1 2023 15:09:45-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]int l 0
[r2-LoopBack0]ip add 192.168.1.129 26
[r2-LoopBack0]q
[r2]
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>ping 192.168.1.9
PING 192.168.1.9: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.9: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 192.168.1.9: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 192.168.1.9: bytes=56 Sequence=3 ttl=255 time=50 ms
Reply from 192.168.1.9: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 192.168.1.9: bytes=56 Sequence=5 ttl=255 time=40 ms
--- 192.168.1.9 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/48/90 ms
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]ospf rout
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]area 0
[r2-ospf-1-area-0.0.0.0]netw
[r2-ospf-1-area-0.0.0.0]network 192.168.1.129 0.0.0.0
[r2-ospf-1-area-0.0.0.0]network 192.168.1.10 0.0.0.0
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:29:01-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:31:20-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:31:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:31:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:31:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[r2-ospf-1-area-0.0.0.0]
Apr 1 2023 15:31:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r2-ospf-1-area-0.0.0.0]
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>reset o
<r2>reset ospf p
<r2>reset ospf process
Warning: The OSPF process will be reset. Continue? [Y/N]:y
Apr 1 2023 15:56:21-08:00 r2 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=1.1.1.1, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
<r2>
<r2>
Apr 1 2023 15:56:21-08:00 r2 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=1.1.1.1, Neighbor
AreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=Ne
ighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=OSPF Process Reset, Ne
ighborChangeTime=2023-04-01 15:56:21-08:00)
<r2>
Apr 1 2023 15:56:21-08:00 r2 %%01OSPF/3/NBR_CHG_DOWN(l)[2]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
<r2>
Apr 1 2023 15:56:21-08:00 r2 %%01OSPF/3/NBR_DOWN_REASON(l)[3]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=Ne
ighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=OSPF Process Reset, Ne
ighborChangeTime=2023-04-01 15:56:21-08:00)
<r2>
Apr 1 2023 15:56:22-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
<r2>
Apr 1 2023 15:56:22-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=9.1.168.192, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
<r2>
Apr 1 2023 15:56:25-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
<r2>
Apr 1 2023 15:56:52-08:00 r2 %%01OSPF/3/NBR_DOWN_REASON(l)[16]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbo
rAreaId=0, NeighborInterface=GigabitEthernet0/0/0,NeighborDownImmediate reason=N
eighbor Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Rece
ived, NeighborChangeTime=2023-04-01 15:56:52-08:00)
<r2>
Apr 1 2023 15:56:52-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[17]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
<r2>
Apr 1 2023 15:56:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[18]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
<r2>
Apr 1 2023 15:56:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[19]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
<r2>
Apr 1 2023 15:56:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[20]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
<r2>
Apr 1 2023 15:56:57-08:00 r2 %%01OSPF/4/NBR_CHANGE_E(l)[21]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=11.1.168.192, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
<r2>int g 0/0/0
^
Error: Unrecognized command found at '^' position.
<r2>sys
Enter system view, return user view with Ctrl+Z.
[r2]int g 0/0/0
[r2-GigabitEthernet0/0/0]ospf dr-
[r2-GigabitEthernet0/0/0]ospf dr-priority 3
[r2-GigabitEthernet0/0/0]res
[r2-GigabitEthernet0/0/0]reset o
[r2-GigabitEthernet0/0/0]reset os
[r2-GigabitEthernet0/0/0]q
[r2]reset o
[r2]q
<r2>res
<r2>resource
<r2>reset os
<r2>reset ospfv3
<r2>reset ospf p
<r2>reset ospf process
Warning: The OSPF process will be reset. Continue? [Y/N]:y
AR3
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r3
[r3]int g 0/0/0
[r3-GigabitEthernet0/0/0]ip add 192.168.1.11 29
Mar 26 2023 22:34:21-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]int g 0/0/1
[r3-GigabitEthernet0/0/1]ip add 192.168.1.1 30
Mar 26 2023 22:35:41-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]q
[r3]ospf 1 rout
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]area 0
[r3-ospf-1-area-0.0.0.0]netw
[r3-ospf-1-area-0.0.0.0]network 192.168.1.11 0.0.0.0
[r3-ospf-1-area-0.0.0.0]area 1
[r3-ospf-1-area-0.0.0.1]net
[r3-ospf-1-area-0.0.0.1]network 192.168.1.1 0.0.0.0
[r3-ospf-1-area-0.0.0.1]q
[r3-ospf-1]int g 0/0/0
[r3-GigabitEthernet0/0/0]ospf aut
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1cip
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cip
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r3-GigabitEthernet0/0/0]int g 0/0/1
[r3-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher ******
AR4
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]srs r4
^
Error: Unrecognized command found at '^' position.
[Huawei]sys r4
[r4]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip add 192.168.1.2 30
[r4-GigabitEthernet0/0/0]
Apr 1 2023 15:13:42-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]int g 0/0/1
[r4-GigabitEthernet0/0/1]ip add 192.168.1.5 30
Apr 1 2023 15:14:24-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]q
[r4]ping 192.168.1.1
PING 192.168.1.1: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=255 time=110 ms
Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms
--- 192.168.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/38/110 ms
[r4]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]ospf 1 rout
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 1
[r4-ospf-1-area-0.0.0.1]netw
[r4-ospf-1-area-0.0.0.1]network 0.0.0.0 255.255.255.255
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[r4-ospf-1-area-0.0.0.1]
Apr 1 2023 15:38:45-08:00 r4 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.1.168.192, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r4-ospf-1-area-0.0.0.1]dis
[r4-ospf-1-area-0.0.0.1]display this
[V200R003C00]
#
area 0.0.0.1
network 0.0.0.0 255.255.255.255
#
return
[r4-ospf-1-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
<r4>sys
Enter system view, return user view with Ctrl+Z.
[r4]dis
[r4]display ospf peer b
[r4]display ospf peer brief
OSPF Process 1 with Router ID 4.4.4.4
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.1 GigabitEthernet0/0/0 3.3.3.3 Full
0.0.0.1 GigabitEthernet0/0/1 5.5.5.5 Full
----------------------------------------------------------------------------
[r4]display ip rout
[r4]display ip routing-table pr
[r4]display ip routing-table protocol ospf
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Public routing table : OSPF
Destinations : 4 Routes : 4
OSPF routing table status : <Active>
Destinations : 4 Routes : 4
Destination/Mask Proto Pre Cost Flags NextHop Interface
192.168.1.8/29 OSPF 10 2 D 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.65/32 OSPF 10 2 D 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.129/32 OSPF 10 2 D 192.168.1.1 GigabitEthernet
0/0/0
192.168.1.193/32 OSPF 10 1 D 192.168.1.6 GigabitEthernet
0/0/1
OSPF routing table status : <Inactive>
Destinations : 0 Routes : 0
[r4-ospf-1]int g 0/0/0
[r4-GigabitEthernet0/0/0]ospf aut
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cip
[r4-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r4-GigabitEthernet0/0/0]int g 0/0/1
[r4-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher ******
AR5
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys r5
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip add 192.168.1.6 30
Apr 1 2023 15:15:36-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]int l 0
[r5-LoopBack0]ip add 192.168.1.193 26
[r5-LoopBack0]q
[r5]ping 192.168.1.5
PING 192.168.1.5: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.5: bytes=56 Sequence=1 ttl=255 time=130 ms
Reply from 192.168.1.5: bytes=56 Sequence=2 ttl=255 time=40 ms
Reply from 192.168.1.5: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 192.168.1.5: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 192.168.1.5: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 192.168.1.5 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/48/130 ms
[r5]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<r5>sys
Enter system view, return user view with Ctrl+Z.
[r5]ospf 1 rout
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]area 1
[r5-ospf-1-area-0.0.0.1]netw
[r5-ospf-1-area-0.0.0.1]network 192.168.1.6 0.0.0.0
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[r5-ospf-1-area-0.0.0.1]
Apr 1 2023 15:45:35-08:00 r5 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.1.168.192, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[r5-ospf-1-area-0.0.0.1]network 192.168.1.193 0.0.0.0
[r5-ospf-1-area-0.0.0.1]q
[r5-ospf-1]default
[r5-ospf-1]default-
[r5-ospf-1]default-route-advertise
[r5-ospf-1]q
[r5]int g 0/0/0
[r5-GigabitEthernet0/0/0]ospf aut
[r5-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cip
[r5-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456