一、实验拓扑
二、实验需求
- R4为ISP,其上只能配置IP地址: R4与其他所有直连设备间使用公有IP
- R3---R5/6/7为MGRE环境,R3为中心站点
- 整个OSPF环境IP地址为172.16.0.0/16
- 所有设备均可访问R4的环回:5、减少LSA的更新量,加快收敛,保障更新安全
- 全网可达
三、划分子网
一、划分思路
1.因为有a0、a1、a2、a3、a4、rip等6个区域,所以先将172.16.0.0/16借3位划分为8个子网。
2.再把每个子网直接划分成24位或25位的网段,因为24位和25位分别有254个和128个可用主机,可满足大部分需求。
3.把划分出来的第1个网段用作点到点骨干(需要将25位网段再分为30位的网段,因为点到点只需要两个可用IP即可),第2个网段用做MA骨干(将25位划分成29位,因为此网络中的MA最多只有4个接口IP),从第三个开始可以用作环回接口网段。
172.16.0.0/16
172.16.0.0/19 区域0 172.16.0.0/25 点到点骨干 172.16.0.128/25 MA骨干 172.16.1.0/25 172.16.1.128/25 172.16.2.0/25 172.16.2.128/25——172.16.31.128/25
172.16.32.0/19 区域1
172.16.64.0/19 区域2
172.16.96.0/19 区域3
172.16.128.0/19 区域4
172.16.160.0/19 rip 172.16.160.0/20 172.16.176.0/20
172.16.192.0/19 预留
172.16.224.0/19 预留
四、实验思路
1、先配置公网实现公网全通
2、用规划好的IP配置私网的IP
3、构建GMRE
4、用OSPF宣告实现私网全通
5、先简化路由表,然后再写缺少的缺省
6、配置NAT
五、实验步骤
1、配置公网IP并写公网路由
R3
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
[R1]int G0/0/0
[R1-GigabitEthernet0/0/0]ip address 34.1.1.1 24[R1]q
[R1]ip route-static 0.0.0.0 0 34.1.1.2
[R1]
[R1]ping 45.1.1.1
PING 45.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 45.1.1.1: bytes=56 Sequence=1 ttl=254 time=40 ms
Reply from 45.1.1.1: bytes=56 Sequence=2 ttl=254 time=10 ms
Reply from 45.1.1.1: bytes=56 Sequence=3 ttl=254 time=20 ms
Reply from 45.1.1.1: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 45.1.1.1: bytes=56 Sequence=5 ttl=254 time=20 ms--- 45.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/24/40 ms[R1]ping 46.1.1.1
PING 46.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 46.1.1.1: bytes=56 Sequence=1 ttl=254 time=40 ms
Reply from 46.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 46.1.1.1: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 46.1.1.1: bytes=56 Sequence=4 ttl=254 time=30 ms
Reply from 46.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms--- 46.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/32/40 ms[R1]ping 47.1.1.1
PING 47.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 47.1.1.1: bytes=56 Sequence=1 ttl=254 time=30 ms
Reply from 47.1.1.1: bytes=56 Sequence=2 ttl=254 time=30 ms
Reply from 47.1.1.1: bytes=56 Sequence=3 ttl=254 time=30 ms
Reply from 47.1.1.1: bytes=56 Sequence=4 ttl=254 time=40 ms
Reply from 47.1.1.1: bytes=56 Sequence=5 ttl=254 time=20 ms--- 47.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/30/40 ms
R4
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int lo0
[Huawei-LoopBack0]ip add
[Huawei-LoopBack0]ip address 4.4.4.4 24
[Huawei-LoopBack0]q
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add
[Huawei-GigabitEthernet0/0/0]ip address 34.1.1.2 24
Aug 7 2023 21:47:36-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 g0/0/1
[Huawei-GigabitEthernet0/0/1]ip address 45.1.1.2 24
Aug 7 2023 21:48:01-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]int g0/0/2
[Huawei-GigabitEthernet0/0/2]ip address 46.1.1.2 24
[Huawei-GigabitEthernet0/0/2]
Aug 7 2023 21:48:13-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]int g4/0/0
[Huawei-GigabitEthernet4/0/0]ip address 47.1.1.2 24
[Huawei-GigabitEthernet4/0/0]
Aug 7 2023 21:48:44-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]
[Huawei-GigabitEthernet4/0/0]q
[Huawei]q
<Huawei>ping 34.1.1.1
PING 34.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 34.1.1.1: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 34.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 34.1.1.1: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 34.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 34.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms--- 34.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/36/90 ms<Huawei>ping 45.1.1.1
PING 45.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 45.1.1.1: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 45.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 45.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 45.1.1.1: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 45.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms--- 45.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/26/60 ms<Huawei>ping 46.1.1.1
PING 46.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 46.1.1.1: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 46.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 46.1.1.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 46.1.1.1: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 46.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms--- 46.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/26/60 ms<Huawei>ping 47.1.1.1
PING 47.1.1.1: 56 data bytes, press CTRL_C to break
Reply from 47.1.1.1: bytes=56 Sequence=1 ttl=255 time=80 ms
Reply from 47.1.1.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 47.1.1.1: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 47.1.1.1: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 47.1.1.1: bytes=56 Sequence=5 ttl=255 time=20 ms--- 47.1.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/34/80 ms
R5
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R5
[R5]int g0/0/0
[R5-GigabitEthernet0/0/0]ip add
[R5-GigabitEthernet0/0/0]ip address 45.1.1.1 24
Aug 7 2023 21:49:50-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]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]ip ro
[R5]ip route-
[R5]ip route-static 0.0.0.0 0 45.1.1.2
[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
R6
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R6
[R6]int g0/0/0
[R6-GigabitEthernet0/0/0]ip add
[R6-GigabitEthernet0/0/0]ip address 46.1.1.1 24
Aug 7 2023 21:50:28-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]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R6>sys
Enter system view, return user view with Ctrl+Z.
[R6]ip route-static 0.0.0.0 0 46.1.1.2
[R6]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R7
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]q
[Huawei]sys
[Huawei]sysname R7
[R7]int g0/0/0
[R7-GigabitEthernet0/0/0]ip add
[R7-GigabitEthernet0/0/0]ip address 47.1.1.1 24
Aug 7 2023 21:51:25-08:00 R7 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R7-GigabitEthernet0/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
<R7>sys
Enter system view, return user view with Ctrl+Z.
[R7]ip route-static 0.0.0.0 0 47.1.1.2
[R7]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
2、配置私网IP
R1
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys
[Huawei]sysname R1
[R1]int lo0
[R1-LoopBack0]ip add
[R1-LoopBack0]ip address 172.16.33.1 25
[R1-LoopBack0]
[R1-LoopBack0]q
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add
[R1-GigabitEthernet0/0/0]ip address 172.16.32.129 29
Aug 7 2023 22:45:38-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R1-GigabitEthernet0/0/0]
[R1-GigabitEthernet0/0/0]q
[R1]ping 172.16.32.130
PING 172.16.32.130: 56 data bytes, press CTRL_C to break
Reply from 172.16.32.130: bytes=56 Sequence=1 ttl=255 time=110 ms
Reply from 172.16.32.130: bytes=56 Sequence=2 ttl=255 time=60 ms
Reply from 172.16.32.130: bytes=56 Sequence=3 ttl=255 time=60 ms
Reply from 172.16.32.130: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.32.130: bytes=56 Sequence=5 ttl=255 time=40 ms--- 172.16.32.130 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/58/110 ms[R1]ping 172.16.32.131
PING 172.16.32.131: 56 data bytes, press CTRL_C to break
Reply from 172.16.32.131: bytes=56 Sequence=1 ttl=255 time=80 ms
Reply from 172.16.32.131: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 172.16.32.131: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 172.16.32.131: bytes=56 Sequence=4 ttl=255 time=40 ms
Reply from 172.16.32.131: bytes=56 Sequence=5 ttl=255 time=50 ms--- 172.16.32.131 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/46/80 ms[R1]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R2
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int lo0
[Huawei-LoopBack0]ip add
[Huawei-LoopBack0]ip address 172.16.33.129 25
[Huawei-LoopBack0]q
[Huawei]sys
[Huawei]sysname R2
[R2]int g0/0/0
[R2-GigabitEthernet0/0/0]ip add
[R2-GigabitEthernet0/0/0]ip address 172.16.32.130 29
Aug 7 2023 22:46:25-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]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R3
<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]int
[R1]interface t
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]ip add
[R1-Tunnel0/0/0]ip address 172.16.0.129 29
[R1-Tunnel0/0/0]t
[R1-Tunnel0/0/0]tu
[R1-Tunnel0/0/0]tunnel-protocol g
[R1-Tunnel0/0/0]tunnel-protocol gre p
[R1-Tunnel0/0/0]tunnel-protocol gre p2mp
[R1-Tunnel0/0/0]so
[R1-Tunnel0/0/0]source 34.1.1.1
Aug 7 2023 22:28:59-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[R1-Tunnel0/0/0]
[R1-Tunnel0/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
<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]int
[R1]interface t
[R1]interface Tunnel 0/0/0
[R1-Tunnel0/0/0]nhrp
[R1-Tunnel0/0/0]nhrp en
[R1-Tunnel0/0/0]nhrp entry mu
[R1-Tunnel0/0/0]nhrp entry multicast dy
[R1-Tunnel0/0/0]nhrp entry multicast dynamic
[R1-Tunnel0/0/0]int lo0
[R1-LoopBack0]ip add
[R1-LoopBack0]ip address 172.16.34.1 25
[R1-LoopBack0]
[R1-LoopBack0]int g0/0/0
[R1-GigabitEthernet0/0/0]q
[R1]int g0/0/1
[R1-GigabitEthernet0/0/1]ip add
[R1-GigabitEthernet0/0/1]ip address 172.16.32.131 29
[R1-GigabitEthernet0/0/1]
Aug 7 2023 22:47:33-08:00 R1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R1-GigabitEthernet0/0/1]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R5
<R5>sys
Enter system view, return user view with Ctrl+Z.
[R5]int lo0
[R5-LoopBack0]ip add
[R5-LoopBack0]ip address 172.16.1.1 25
[R5-LoopBack0]
R6
<R6>sys
Enter system view, return user view with Ctrl+Z.
[R6]int lo0
[R6-LoopBack0]ip add
[R6-LoopBack0]ip address 172.16.1.129 25
[R6-LoopBack0]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R6>sys
Enter system view, return user view with Ctrl+Z.
[R6]int g0/0/1
[R6-GigabitEthernet0/0/1]ip add
[R6-GigabitEthernet0/0/1]ip address 172.16.64.1 30
Aug 7 2023 23:01:43-08:00 R6 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R6-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
<R6>
<R6>ping 172.16.64.2
PING 172.16.64.2: 56 data bytes, press CTRL_C to break
Reply from 172.16.64.2: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 172.16.64.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 172.16.64.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 172.16.64.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.64.2: bytes=56 Sequence=5 ttl=255 time=20 ms--- 172.16.64.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/30/70 ms<R6>
R7
<R7>
<R7>sys
Enter system view, return user view with Ctrl+Z.
[R7]int lo0
[R7-LoopBack0]172.16.2.1 25
^
Error: Unrecognized command found at '^' position.
[R7-LoopBack0]ip add
[R7-LoopBack0]ip address 172.16.2.1 25
[R7-LoopBack0]int g0/0/1
[R7-GigabitEthernet0/0/1]ip add
[R7-GigabitEthernet0/0/1]ip address 172.16.96.1 30
[R7-GigabitEthernet0/0/1]
Aug 7 2023 22:56:19-08:00 R7 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R7-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
<R7>ping 172.16.96.2
PING 172.16.96.2: 56 data bytes, press CTRL_C to break
Reply from 172.16.96.2: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 172.16.96.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 172.16.96.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 172.16.96.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.96.2: bytes=56 Sequence=5 ttl=255 time=30 ms--- 172.16.96.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/30/60 ms<R7>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R8
The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]int lo0
[Huawei-LoopBack0]ip add
[Huawei-LoopBack0]ip address 172.16.97.1 25
[Huawei-LoopBack0]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 172.16.96.2 30
Aug 7 2023 22:56:46-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[2]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]int g0/0/1
[Huawei-GigabitEthernet0/0/1]ip add
[Huawei-GigabitEthernet0/0/1]ip address 172.16.96.5 30
[Huawei-GigabitEthernet0/0/1]
Aug 7 2023 22:57:35-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[3]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]q
[Huawei]sys
[Huawei]sysname R8
[R8]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
<R8>ping 172.16.96.6
PING 172.16.96.6: 56 data bytes, press CTRL_C to break
Reply from 172.16.96.6: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 172.16.96.6: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 172.16.96.6: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 172.16.96.6: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 172.16.96.6: bytes=56 Sequence=5 ttl=255 time=10 ms--- 172.16.96.6 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/20/60 ms<R8>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R9
The device is running!
<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]sys
[Huawei]sysname R9
[R9]int g0/0/0
[R9-GigabitEthernet0/0/0]ip add
[R9-GigabitEthernet0/0/0]ip address 172.16.96.6 30
Aug 7 2023 22:58:49-08:00 R9 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R9-GigabitEthernet0/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
<R9>
<R9>sys
Enter system view, return user view with Ctrl+Z.
[R9]int lo0
[R9-LoopBack0]ip add
[R9-LoopBack0]ip address 172.16.129.1 25
[R9-LoopBack0]int g0/0/1
[R9-GigabitEthernet0/0/1]ip add
[R9-GigabitEthernet0/0/1]ip address 172.16.128.1 30
[R9-GigabitEthernet0/0/1]
Aug 7 2023 23:06:19-08:00 R9 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R9-GigabitEthernet0/0/1]q
[R9]ping 172.16.128.2
PING 172.16.128.2: 56 data bytes, press CTRL_C to break
Reply from 172.16.128.2: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 172.16.128.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 172.16.128.2: bytes=56 Sequence=3 ttl=255 time=10 ms
Reply from 172.16.128.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.128.2: bytes=56 Sequence=5 ttl=255 time=30 ms--- 172.16.128.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/32/70 ms[R9]
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R10
The device is running!
<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]sys
[Huawei]sysname R10
[R10]int lo
[R10]int LoopBack 0
[R10-LoopBack0]ip add
[R10-LoopBack0]ip address 172.16.129.129 25
[R10-LoopBack0]int g0/0/0
[R10-GigabitEthernet0/0/0]ip add
[R10-GigabitEthernet0/0/0]ip address 172.16.128.2 30
Aug 7 2023 23:07:54-08:00 R10 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R10-GigabitEthernet0/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
R11
The device is running!
<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]sys
[Huawei]sysname R11
[R11]int lo0
[R11-LoopBack0]ip add
[R11-LoopBack0]ip address 172.16.65.1 25
[R11-LoopBack0]int g0/0/0
[R11-GigabitEthernet0/0/0]ip add
[R11-GigabitEthernet0/0/0]ip address 172.16.64.2 30
Aug 7 2023 23:02:16-08:00 R11 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R11-GigabitEthernet0/0/0]int g0/0/1
[R11-GigabitEthernet0/0/1]ip add
[R11-GigabitEthernet0/0/1]ip address 172.16.64.5 30
Aug 7 2023 23:03:27-08:00 R11 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R11-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
<R11>ping 172.16.64.6
PING 172.16.64.6: 56 data bytes, press CTRL_C to break
Reply from 172.16.64.6: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 172.16.64.6: bytes=56 Sequence=2 ttl=255 time=40 ms
Reply from 172.16.64.6: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 172.16.64.6: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 172.16.64.6: bytes=56 Sequence=5 ttl=255 time=20 ms--- 172.16.64.6 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/38/90 ms<R11>
Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R12
The device is running!
<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]syts
[Huawei]sys
[Huawei]sysname R12
[R12]int g0/0/0
[R12-GigabitEthernet0/0/0]ip add
[R12-GigabitEthernet0/0/0]ip address 172.16.64.6 30
Aug 7 2023 23:04:14-08:00 R12 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[R12-GigabitEthernet0/0/0]int lo0
[R12-LoopBack0]ip add
[R12-LoopBack0]ip address 172.16.160.1 20
[R12-LoopBack0]int lo1
[R12-LoopBack1]ip add
[R12-LoopBack1]ip address 172.16.176.1 20
[R12-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
3、OSPF启动宣告
R1
[R1]os
[R1]ospf1 ro
[R1]ospf 1 ro
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]are
[R1-ospf-1]area 1
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]ne
[R1-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.1.255
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:14-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R1-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
R2
<R2>dis
<R2>display ip in
<R2>display ip interface br
<R2>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 172.16.32.130/29 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.33.129/25 up up(s)
NULL0 unassigned up up(s)
<R2>
<R2>sys
Enter system view, return user view with Ctrl+Z.
[R2]os
[R2]ospf 1 ro
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]are
[R2-ospf-1]area 1
[R2-ospf-1-area-0.0.0.1]net
[R2-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.1.255
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:23:20-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:24-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=131.32.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:27-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=131.32.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:27-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=131.32.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:27-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=131.32.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R2-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:27-08:00 R2 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.32.16.172, Nei
ghborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full
)
[R2-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
R3
<R1>
<R1>dis
<R1>display in
<R1>display int
<R1>display ip interface br
<R1>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 34.1.1.1/24 up up
GigabitEthernet0/0/1 172.16.32.131/29 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.34.1/25 up up(s)
NULL0 unassigned up up(s)
Tunnel0/0/0 172.16.0.129/29 up up
<R1>sys
Enter system view, return user view with Ctrl+Z.
[R1]os
[R1]ospf 1 rou
[R1]ospf 1 router-id 3.3.3.3
[R1-ospf-1]are
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]net
[R1-ospf-1-area-0.0.0.0]network 172.16.0.129 0.0.0.0
[R1-ospf-1-area-0.0.0.0]q
[R1-ospf-1]area 1
[R1-ospf-1-area-0.0.0.1]net
[R1-ospf-1-area-0.0.0.1]network 172.16.32.0 0.0.3.255
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:25-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:25-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.32.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Nei
ghborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Lo
ading)
[R1-ospf-1-area-0.0.0.1]
Aug 7 2023 23:26:26-08:00 R1 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.32.16.172, Nei
ghborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full
)
[R1-ospf-1-area-0.0.0.1]
[R1-ospf-1-area-0.0.0.1]q
[R1-ospf-1]q
[R1]sys
[R1]sysname R3
[R3]
Aug 7 2023 23:29:10-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R3]
Aug 7 2023 23:29:13-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R3]
Aug 7 2023 23:29:13-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3]
Aug 7 2023 23:29:13-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3]
Aug 7 2023 23:29:14-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[16]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3]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
<R5>dis
<R5>display ip int
<R5>display ip interface br
<R5>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 2Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 45.1.1.1/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.1.1/25 up up(s)
NULL0 unassigned up up(s)
Tunnel0/0/0 172.16.0.130/29 up up
<R5>
<R5>sys
Enter system view, return user view with Ctrl+Z.
[R5]os
[R5]ospf 1 ro
[R5]ospf 1 router-id 5.5.5.5
[R5-ospf-1]are
[R5-ospf-1]area 0
[R5-ospf-1-area-0.0.0.0]net
[R5-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.1.255
[R5-ospf-1-area-0.0.0.0]
Aug 7 2023 23:29:14-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R5-ospf-1-area-0.0.0.0]
Aug 7 2023 23:29:14-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[R5-ospf-1-area-0.0.0.0]
Aug 7 2023 23:29:14-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R5-ospf-1-area-0.0.0.0]
Aug 7 2023 23:29:14-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R5-ospf-1-area-0.0.0.0]
Aug 7 2023 23:29:14-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R5-ospf-1-area-0.0.0.0]
Please check whether system data has been changed, and save data in time
Co
R6
<R6>sys
Enter system view, return user view with Ctrl+Z.
[R6]dis
[R6]display ip int
[R6]display ip interface br
[R6]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 46.1.1.1/24 up up
GigabitEthernet0/0/1 172.16.64.1/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.1.129/25 up up(s)
NULL0 unassigned up up(s)
Tunnel0/0/0 172.16.0.131/29 up up
[R6]are
[R6]os
[R6]ospf 1
[R6-ospf-1]are
[R6-ospf-1]area 0
[R6-ospf-1-area-0.0.0.0]net
[R6-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.1.255
[R6-ospf-1-area-0.0.0.0]q
[R6-ospf-1]are
[R6-ospf-1]area 2
Aug 7 2023 23:30:46-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R6-ospf-1-area-0.0.0.2]net
[R6-ospf-1-area-0.0.0.2]network 172.16.64.1 0.0.0.0
[R6-ospf-1-area-0.0.0.2]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R7
<R7>sys
Enter system view, return user view with Ctrl+Z.
[R7]dis
[R7]display ip int
[R7]display ip interface br
[R7]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 5
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 47.1.1.1/24 up up
GigabitEthernet0/0/1 172.16.96.1/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.2.1/25 up up(s)
NULL0 unassigned up up(s)
Tunnel0/0/0 172.16.0.132/29 up up
[R7]os
[R7]ospf 1 ro
[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]are
[R7-ospf-1]area 0
[R7-ospf-1-area-0.0.0.0]net
[R7-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.3.255
[R7-ospf-1-area-0.0.0.0]q
[R7-ospf-1]
Aug 7 2023 23:33:03-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R7-ospf-1]area 3
[R7-ospf-1-area-0.0.0.3]net
[R7-ospf-1-area-0.0.0.3]network 172.16.96.1 0.0.0.0
[R7-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:31-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.96.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R7-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:34-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.96.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)[R7-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:34-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.96.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[R7-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:34-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.96.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[R7-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:34-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.96.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R7-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
R8
<R8>sys
Enter system view, return user view with Ctrl+Z.
[R8]ospf 1ro
[R8]ospf 1 ro
[R8]ospf 1 router-id 8.8.8.8
[R8-ospf-1]are
[R8-ospf-1]area 3
[R8-ospf-1-area-0.0.0.3]net
[R8-ospf-1-area-0.0.0.3]network 172.16.96.0 0.0.1.255
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:35:33-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=1.96.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:36:57-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.96.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:37:02-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.96.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:37:02-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.96.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:37:02-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=6.96.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[R8-ospf-1-area-0.0.0.3]
Aug 7 2023 23:37:02-08:00 R8 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.96.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R8-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
R9
<R9>dis
<R9>display ip int
<R9>display ip interface br
<R9>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 172.16.96.6/30 up up
GigabitEthernet0/0/1 172.16.128.1/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.129.1/25 up up(s)
NULL0 unassigned up up(s)
<R9>sys
Enter system view, return user view with Ctrl+Z.
[R9]os
[R9]ospf 1 ro
[R9]ospf 1 router-id 9.9.9.9
[R9-ospf-1]area 3
[R9-ospf-1-area-0.0.0.3]netw
[R9-ospf-1-area-0.0.0.3]network 172.16.96.6 0.0.0.0
[R9-ospf-1-area-0.0.0.3]q
[R9-ospf-1]area
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R9-ospf-1]area
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R9-ospf-1]area
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R9-ospf-1]area
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Exc
hange)
[R9-ospf-1]area 4
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loadi
ng)
[R9-ospf-1]area 4
Aug 7 2023 23:37:03-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=5.96.16.172, Neighb
orEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R9-ospf-1]area 4
[R9-ospf-1-area-0.0.0.4]net
[R9-ospf-1-area-0.0.0.4]network 172.16.128.0 0.0.1.255
[R9-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:11-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.128.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R9-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.128.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[R9-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.128.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R9-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=2.128.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R9-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R9 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=2.128.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R9-ospf-1-area-0.0.0.4]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R10
<R10>int
<R10>dis
<R10>display ip int
<R10>display ip interface br
<R10>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 172.16.128.2/30 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.129.129/25 up up(s)
NULL0 unassigned up up(s)
<R10>sys
Enter system view, return user view with Ctrl+Z.
[R10]os
[R10]ospf 1 ro
[R10]ospf 1 router-id 10.10.10.10
[R10-ospf-1]area 4
[R10-ospf-1-area-0.0.0.4]net
[R10-ospf-1-area-0.0.0.4]network 172.16.128.0 0.0.1.255
[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R10-ospf-1-area-0.0.0.4]
Aug 7 2023 23:39:15-08:00 R10 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.128.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R10-ospf-1-area-0.0.0.4]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R11
<R11>dis
<R11>display ip int
<R11>display ip interface br
<R11>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 1Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 172.16.64.2/30 up up
GigabitEthernet0/0/1 172.16.64.5/30 up up
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.65.1/25 up up(s)
NULL0 unassigned up up(s)
<R11>sys
Enter system view, return user view with Ctrl+Z.
[R11]os
[R11]ospf 1 rou
[R11]ospf 1 router-id 11.11.11.11
[R11-ospf-1]area 2
[R11-ospf-1-area-0.0.0.2]net
[R11-ospf-1-area-0.0.0.2]network 172.16.64.0 0.0.1.255
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:41:21-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=1.64.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R11-ospf-1-area-0.0.0.2]
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:52-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R11-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R11 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes e
vent: neighbor status changed. (ProcessId=256, NeighborAddress=6.64.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R11-ospf-1-area-0.0.0.2]Please check whether system data has been changed, and save data in time
Configuration console time out, please press any key to log on
R12
<R12>
<R12>
<R12>dis
<R12>display ip int
<R12>display ip interface br
<R12>display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 2Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 172.16.64.6/30 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
LoopBack0 172.16.160.1/20 up up(s)
LoopBack1 172.16.176.1/20 up up(s)
NULL0 unassigned up up(s)
<R12>os
<R12>sys
Enter system view, return user view with Ctrl+Z.
[R12]os
[R12]ospf 1 ro
[R12]ospf 1 router-id 12.12.12.12
[R12-ospf-1]area 2
[R12-ospf-1-area-0.0.0.2]net
[R12-ospf-1-area-0.0.0.2]network 172.16.64.6 0.0.0.0
[R12-ospf-1-area-0.0.0.2]
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[0]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[1]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R12-ospf-1-area-0.0.0.2]
Aug 7 2023 23:42:57-08:00 R12 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=5.64.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R12-ospf-1-area-0.0.0.2]q
[R12-ospf-1]q
[R12]ri
[R12]rip
[R12-rip-1]ver
[R12-rip-1]vers 2
[R12-rip-1]net
[R12-rip-1]network 172.16.0.0
[R12-rip-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
4、配置R3、R5、R6、R7建立邻居关系
R3
[R3-Tunnel0/0/0]ospf network-type broadcast
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:06-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[31]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:06-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[32]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:06-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[33]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:15-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[34]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=1-Way, NeighborPreviousState=2Way, NeighborCurrentState=Init)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:24-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[35]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:24-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[36]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=2Way)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[37]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/3/NBR_DOWN_REASON(l)[38]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=5.5.5.5, Neighbo
rAreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor D
own Due to Inactivity, NeighborDownPrimeReason=Hello Not Seen, NeighborChangeTim
e=2023-08-07 23:57:25-08:00)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[39]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=Full, NeighborCurrentState=2Way)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[40]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[41]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[42]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[43]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[44]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[45]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[46]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[47]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[48]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[49]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:16-08:00 R3 %%01OSPF/3/NBR_DOWN_REASON(l)[50]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=5.5.5.5, Neighbo
rAreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor D
own Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Received, Nei
ghborChangeTime=2023-08-07 23:59:16-08:00)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:16-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[51]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[52]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[53]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[54]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[55]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=130.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:31-08:00 R3 %%01OSPF/3/NBR_DOWN_REASON(l)[56]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=1.1.1.46, Neighb
orAreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor
Down Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Received, Ne
ighborChangeTime=2023-08-07 23:59:31-08:00)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:31-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[57]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[58]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[59]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[60]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[61]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=131.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:44-08:00 R3 %%01OSPF/3/NBR_DOWN_REASON(l)[62]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=7.7.7.7, Neighbo
rAreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor D
own Due to 1-Wayhello Received, NeighborDownPrimeReason=1-Wayhello Received, Nei
ghborChangeTime=2023-08-07 23:59:44-08:00)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:44-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[63]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=1-Way, NeighborPreviousState=Full, NeighborCurrentState=Init)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:51-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[64]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=ExStart
)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:51-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[65]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:51-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[66]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R3-Tunnel0/0/0]
Aug 7 2023 23:59:51-08:00 R3 %%01OSPF/4/NBR_CHANGE_E(l)[67]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=132.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R3-Tunnel0/0/0]di
[R3-Tunnel0/0/0]disp
[R3-Tunnel0/0/0]display os
[R3-Tunnel0/0/0]display ospf p
[R3-Tunnel0/0/0]display ospf peer b
[R3-Tunnel0/0/0]display ospf peer briefOSPF Process 1 with Router ID 3.3.3.3
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.0 Tunnel0/0/0 5.5.5.5 Full
0.0.0.0 Tunnel0/0/0 46.1.1.1 Full
0.0.0.0 Tunnel0/0/0 7.7.7.7 Full
0.0.0.1 GigabitEthernet0/0/1 1.1.1.1 Full
0.0.0.1 GigabitEthernet0/0/1 2.2.2.2 Full
----------------------------------------------------------------------------
[R3-Tunnel0/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
R5
[R5]int
[R5]interface t
[R5]interface Tunnel 0/0/0
[R5-Tunnel0/0/0]os
[R5-Tunnel0/0/0]ospf net
[R5-Tunnel0/0/0]ospf network-type br
[R5-Tunnel0/0/0]ospf network-type broadcast
Aug 7 2023 23:56:21-08:00 R5 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=ExStart, NeighborCurrentState=Down)
[R5-Tunnel0/0/0]
Aug 7 2023 23:56:21-08:00 R5 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch, N
eighborChangeTime=2023-08-07 23:56:21-08:00)
[R5-Tunnel0/0/0]
Aug 7 2023 23:56:26-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R5-Tunnel0/0/0]
Aug 7 2023 23:56:26-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:01-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:06-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:07-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:07-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R5-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R5 %%01OSPF/3/NBR_DOWN_REASON(l)[8]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to SequenceNum Mismatch, NeighborDownPrimeReason=M,I,MS bit or SequenceNu
m Incorrect, NeighborChangeTime=2023-08-07 23:57:58-08:00)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:58-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=SeqNumberMismatch, NeighborPreviousState=Full, NeighborCurrentState=ExS
tart)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R5-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R5-Tunnel0/0/0]os
[R5-Tunnel0/0/0]ospf d
[R5-Tunnel0/0/0]ospf dr-priority 0
Aug 7 2023 23:59:16-08:00 R5 %%01OSPF/3/NBR_CHG_DOWN(l)[13]:Neighbor event:neig
hbor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEve
nt=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R5-Tunnel0/0/0]
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:16-08:00 R5 %%01OSPF/3/NBR_DOWN_REASON(l)[14]:Neighbor state l
eaves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbo
rAreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor D
own Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch,
NeighborChangeTime=2023-08-07 23:59:16-08:00)
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R5-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[16]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:20-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[17]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:21-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[18]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:21-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[19]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R5-Tunnel0/0/0]
Aug 7 2023 23:59:21-08:00 R5 %%01OSPF/4/NBR_CHANGE_E(l)[20]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R5-Tunnel0/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
R6
<R6>sys
Enter system view, return user view with Ctrl+Z.
[R6]int
[R6]interface t
[R6]interface Tunnel 0/0/0
[R6-Tunnel0/0/0]os
[R6-Tunnel0/0/0]ospf net
[R6-Tunnel0/0/0]ospf network-type br
[R6-Tunnel0/0/0]ospf network-type broadcast
Aug 7 2023 23:56:46-08:00 R6 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R6-Tunnel0/0/0]
[R6-Tunnel0/0/0]
Aug 7 2023 23:56:46-08:00 R6 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch, N
eighborChangeTime=2023-08-07 23:56:46-08:00)
[R6-Tunnel0/0/0]
Aug 7 2023 23:56:47-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R6-Tunnel0/0/0]
Aug 7 2023 23:56:47-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R6-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R6-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R6-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R6-Tunnel0/0/0]
Aug 7 2023 23:57:25-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R6-Tunnel0/0/0]os
[R6-Tunnel0/0/0]ospf d
[R6-Tunnel0/0/0]ospf dr-priority 0
Aug 7 2023 23:59:32-08:00 R6 %%01OSPF/3/NBR_CHG_DOWN(l)[8]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R6-Tunnel0/0/0]
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:32-08:00 R6 %%01OSPF/3/NBR_DOWN_REASON(l)[9]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch, N
eighborChangeTime=2023-08-07 23:59:32-08:00)
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R6-Tunnel0/0/0]
Aug 7 2023 23:59:41-08:00 R6 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R6-Tunnel0/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
R7
[R7]int
[R7]interface t
[R7]interface Tunnel 0/0/0
[R7-Tunnel0/0/0]os
[R7-Tunnel0/0/0]ospf net
[R7-Tunnel0/0/0]ospf network-type br
[R7-Tunnel0/0/0]ospf network-type broadcast
Aug 7 2023 23:57:16-08:00 R7 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R7-Tunnel0/0/0]
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:16-08:00 R7 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch, N
eighborChangeTime=2023-08-07 23:57:16-08:00)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:18-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[2]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:18-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[3]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[4]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
[R7-Tunnel0/0/0]
Aug 7 2023 23:57:59-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes eve
nt: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neigh
borEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)[R7-Tunnel0/0/0]dis
[R7-Tunnel0/0/0]disp
[R7-Tunnel0/0/0]display os
[R7-Tunnel0/0/0]display ospf p
[R7-Tunnel0/0/0]display ospf peer b
[R7-Tunnel0/0/0]display ospf peer briefOSPF Process 1 with Router ID 7.7.7.7
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.0 Tunnel0/0/0 3.3.3.3 Full
0.0.0.3 GigabitEthernet0/0/1 8.8.8.8 Full
----------------------------------------------------------------------------
[R7-Tunnel0/0/0]
[R7-Tunnel0/0/0]os
[R7-Tunnel0/0/0]ospf dr
[R7-Tunnel0/0/0]ospf dr-priority 0
Aug 7 2023 23:59:45-08:00 R7 %%01OSPF/3/NBR_CHG_DOWN(l)[8]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=3.3.3.3, NeighborEven
t=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R7-Tunnel0/0/0]
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:45-08:00 R7 %%01OSPF/3/NBR_DOWN_REASON(l)[9]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=3.3.3.3, Neighbor
AreaId=0, NeighborInterface=Tunnel0/0/0,NeighborDownImmediate reason=Neighbor Do
wn Due to Kill Neighbor, NeighborDownPrimeReason=Interface Parameter Mismatch, N
eighborChangeTime=2023-08-07 23:59:45-08:00)
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[11]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[12]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[13]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=E
xchange)
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[14]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Loa
ding)
[R7-Tunnel0/0/0]
Aug 7 2023 23:59:52-08:00 R7 %%01OSPF/4/NBR_CHANGE_E(l)[15]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=256, NeighborAddress=129.0.16.172, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
[R7-Tunnel0/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
5、引入域外路由
5.1在R12的OSPF中引入rip
[R12-ospf-1]import-route rip
5.2将区域4在进程2中宣告,并双向重发布
<R9>sys
Enter system view, return user view with Ctrl+Z.
[R9]os
[R9]ospf 1
[R9-ospf-1]ar
[R9-ospf-1]area 4
[R9-ospf-1-area-0.0.0.4]undo net
[R9-ospf-1-area-0.0.0.4]undo network 172.16.128.0 0.0.1.255
Aug 8 2023 00:15:41-08:00 R9 %%01OSPF/3/NBR_CHG_DOWN(l)[0]:Neighbor event:neigh
bor state changed to Down. (ProcessId=256, NeighborAddress=10.10.10.10, Neighbor
Event=KillNbr, NeighborPreviousState=Full, NeighborCurrentState=Down)
[R9-ospf-1-area-0.0.0.4]
[R9-ospf-1-area-0.0.0.4]
Aug 8 2023 00:15:41-08:00 R9 %%01OSPF/3/NBR_DOWN_REASON(l)[1]:Neighbor state le
aves full or changed to Down. (ProcessId=256, NeighborRouterId=10.10.10.10, Neig
hborAreaId=67108864, NeighborInterface=GigabitEthernet0/0/1,NeighborDownImmediat
e reason=Neighbor Down Due to Kill Neighbor, NeighborDownPrimeReason=Undo Networ
k Command, NeighborChangeTime=2023-08-08 00:15:41-08:00)
[R9-ospf-1-area-0.0.0.4]q
[R9-ospf-1]q
[R9]dis
[R9]display os
[R9]display ospf p
[R9]display ospf peer b
[R9]display ospf peer briefOSPF Process 1 with Router ID 9.9.9.9
Peer Statistic Information
----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.3 GigabitEthernet0/0/0 8.8.8.8 Full
----------------------------------------------------------------------------
[R9]os
[R9]ospf 2
[R9-ospf-2]
[R9-ospf-2]are
[R9-ospf-2]area 4
[R9-ospf-2-area-0.0.0.4]net
[R9-ospf-2-area-0.0.0.4]network 172.16.128.0 0.0.1.255
[R9-ospf-2-area-0.0.0.4][R9-ospf-2-area-0.0.0.4]q
[R9-ospf-2]q
[R9]os
[R9]ospf 1
[R9-ospf-1]im
[R9-ospf-1]import-route os
[R9-ospf-1]import-route ospf 2
[R9-ospf-1][R9-ospf-1]q
[R9]os
[R9]ospf 2
[R9-ospf-2]im
[R9-ospf-2]import-route os
[R9-ospf-2]import-route ospf 1
[R9-ospf-2]
6、优化路由表
1、路由汇总
R7
[R7-ospf-1-area-0.0.0.3]abr-summary 172.16.96.0 255.255.224.0
R6
[R6-ospf-1-area-0.0.0.2]abr-summary 172.16.64.0 255.255.224.0
R9
[R9-ospf-1]asbr-summary 172.16.128.0 255.255.224.0
R12
[R12-ospf-1]asbr-summary 172.16.160.0 255.255.224.0
2、区域1设置为完全末梢区域
R1
[R1-ospf-1-area-0.0.0.1]stub
R2
[R2-ospf-1-area-0.0.0.1]stub
R3
[R3-ospf-1-area-0.0.0.1]stub no-summary
3、区域2设置为完全nssa
R12
[R12-ospf-1-area-0.0.0.2]nssa
R11
[R11-ospf-1-area-0.0.0.2]nssa
R6
[R6-ospf-1-area-0.0.0.2]nssa no-summary
4、区域3设置为完全nssa
R7
[R7-ospf-1-area-0.0.0.3]nssa no-summary
R8
[R8-ospf-1-area-0.0.0.3]nssa
R9
[R9-ospf-1-area-0.0.0.3]nssa
5.区域4
先将双向重发布变为单向重发布
R9
[R9-ospf-2]undo import-route ospf 1
再设置缺省
R9
[R9-ospf-2]default-route-advertise
7、防环
R3
[R3]ip route-static 172.16.32.0 19 NULL 0
R6
[R6]ip route-static 172.16.96.0 19 NULL 0
R7
[R7]ip route-static 172.16.128.0 19 NULL 0
R12
[R12]ip route-static 172.16.160.0 19 NULL 0
8、配置NAT使内网可以访问外网
R3
[R3]acl 2000
[R3-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R3-acl-basic-2000]int g0/0/0
[R3-GigabitEthernet0/0/0]nat outbound 2000
[R3-GigabitEthernet0/0/0]
R6
[R6]acl 2000
[R6-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R6-acl-basic-2000]int g0/0/0
[R6-GigabitEthernet0/0/0]nat outbound 2000
[R6-GigabitEthernet0/0/0]
R7
[R7]acl 2000
[R7-acl-basic-2000]rule permit source 172.16.0.0 0.0.255.255
[R7-acl-basic-2000]int g0/0/0
[R7-GigabitEthernet0/0/0]nat outbound 2000
[R7-GigabitEthernet0/0/0]
六、测试