R1配置
[Huawei]sys r1
[r1]int
[r1]interface lo
[r1]interface LoopBack 0
[r1-LoopBack0]ip ad
[r1-LoopBack0]ip address 192.168.1.1 24
[r1-LoopBack0]q
[r1]int
[r1]interface g
[r1]interface GigabitEthernet 0/0/0
[r1-GigabitEthernet0/0/0]ip ad
[r1-GigabitEthernet0/0/0]ip address 12.0.0.1 24
Jan 29 2024 18:03:49-08:00 r1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[r1-GigabitEthernet0/0/0]int
[r1-GigabitEthernet0/0/0]int g
[r1-GigabitEthernet0/0/0]int g 0/0/1
[r1-GigabitEthernet0/0/1]ip ad
[r1-GigabitEthernet0/0/1]ip address 21.0.0.1 24
Jan 29 2024 18:05:53-08:00 r1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[r1-GigabitEthernet0/0/1]q
[r1]int
[r1]interface t
[r1]interface Tunnel 0/0/0
[r1-Tunnel0/0/0]ip ad
[r1-Tunnel0/0/0]ip address 192.168.2.1 24
[r1-Tunnel0/0/0]tun
[r1-Tunnel0/0/0]tunnel-protocol gre p2mp
[r1-Tunnel0/0/0]sou
[r1-Tunnel0/0/0]source 21.0.0.1
Jan 29 2024 18:07:39-08:00 r1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r1-Tunnel0/0/0]
[r1-Tunnel0/0/0]nhrp network-id 100
[r1-Tunnel0/0/0]nhrp entry 192.168.2.4 24.0.0.1 register
[r1-Tunnel0/0/0]nhrp entry mu
[r1-Tunnel0/0/0]nhrp entry multicast y
[r1-Tunnel0/0/0]nhrp entry multicast dy
[r1-Tunnel0/0/0]nhrp entry multicast dynamic
[r1-Tunnel0/0/0]q
[r1]ip rou
[r1]ip route-s
[r1]ip route-static 0.0.0.0 0 12.0.0.2
[r1]ip route-static 0.0.0.0 0 21.0.0.2
[r1]int
[r1]interface t
[r1]interface Tunnel 0/0/1
[r1-Tunnel0/0/1]ip ad
[r1-Tunnel0/0/1]ip address 192.168.7.1 24
[r1-Tunnel0/0/1]tun
[r1-Tunnel0/0/1]tunnel-protocol gre p2mp
[r1-Tunnel0/0/1]source 12.0.0.1
Jan 29 2024 18:10:39-08:00 r1 %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP
on the interface Tunnel0/0/1 has entered the UP state.
[r1-Tunnel0/0/1]
[r1-Tunnel0/0/1]nhrp net
[r1-Tunnel0/0/1]nhrp network-id 50
[r1-Tunnel0/0/1]nhrp entry mu
[r1-Tunnel0/0/1]nhrp entry multicast dy
[r1-Tunnel0/0/1]nhrp entry multicast dynamic
[r1-Tunnel0/0/1]q
[r1]ospf 1 rou
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]area 0
[r1-ospf-1-area-0.0.0.0]net
[r1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]network 192.168.7.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]q
[r1-ospf-1]q
[r1]int
[r1]interface t
[r1]interface Tunnel 0/0/0
[r1-Tunnel0/0/0]ospf network
[r1-Tunnel0/0/0]ospf network-type bo
[r1-Tunnel0/0/0]ospf network-type bro
[r1-Tunnel0/0/0]ospf network-type broadcast
[r1-Tunnel0/0/0]q
[r1]
ISP配置
[Huawei]sys ISP
[ISP]int
[ISP]interface g
[ISP]interface GigabitEthernet 0/0/0
[ISP-GigabitEthernet0/0/0]ip ad
[ISP-GigabitEthernet0/0/0]ip address 12.0.0.2 24
Jan 29 2024 18:18:12-08:00 ISP %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP
on the interface GigabitEthernet0/0/0 has entered the UP state.
[ISP-GigabitEthernet0/0/0]int g 0/0/1
[ISP-GigabitEthernet0/0/1]ip ad
[ISP-GigabitEthernet0/0/1]ip address 21.0.0.2 24
Jan 29 2024 18:18:34-08:00 ISP %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[ISP-GigabitEthernet0/0/1]int g 0/0/2
[ISP-GigabitEthernet0/0/2]ip ad
[ISP-GigabitEthernet0/0/2]ip address 23.0.0.2 24
[ISP-GigabitEthernet0/0/2]
Jan 29 2024 18:18:55-08:00 ISP %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[ISP-GigabitEthernet0/0/2]int g 4/0/0
[ISP-GigabitEthernet4/0/0]ip ad
[ISP-GigabitEthernet4/0/0]ip address 24.0.0.2 24
[ISP-GigabitEthernet4/0/0]
Jan 29 2024 18:19:31-08:00 ISP %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet4/0/0 has entered the UP state.
[ISP-GigabitEthernet4/0/0]int g 4/0/1
[ISP-GigabitEthernet4/0/1]ip ad
[ISP-GigabitEthernet4/0/1]ip address 25.0.0.2 24
[ISP-GigabitEthernet4/0/1]
Jan 29 2024 18:19:54-08:00 ISP %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
on the interface GigabitEthernet4/0/1 has entered the UP state.
[ISP-GigabitEthernet4/0/1]int g 4/0/2
[ISP-GigabitEthernet4/0/2]ip ad
[ISP-GigabitEthernet4/0/2]ip address 26.0.0.2 24
[ISP-GigabitEthernet4/0/2]
Jan 29 2024 18:20:13-08:00 ISP %%01IFNET/4/LINK_STATE(l)[5]:The line protocol IP
on the interface GigabitEthernet4/0/2 has entered the UP state.
[ISP-GigabitEthernet4/0/2]q
[ISP]
R3配置
[Huawei]sys R3
[R3]int
[R3]interface l
[R3]interface LoopBack 0
[R3-LoopBack0]ip ad
[R3-LoopBack0]ip address 192.168.3.1 24
[R3-LoopBack0]int
[R3-LoopBack0]int g 0/0/0
[R3-GigabitEthernet0/0/0]ip ad
[R3-GigabitEthernet0/0/0]ip address 23.0.0.1 24
Jan 29 2024 18:23:58-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]q
[R3]int
[R3]interface t
[R3]interface Tunnel 0/0/0
[R3-Tunnel0/0/0]ip ad
[R3-Tunnel0/0/0]ip address 192.168.2.3 24
[R3-Tunnel0/0/0]tu
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]source 23.0.0.1
Jan 29 2024 18:25:02-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[R3-Tunnel0/0/0]
[R3-Tunnel0/0/0]nhrp net
[R3-Tunnel0/0/0]nhrp network-id 100
[R3-Tunnel0/0/0]nhrp en
[R3-Tunnel0/0/0]nhrp entry 192.168.2.1 21.0.0.1 reg
[R3-Tunnel0/0/0]nhrp entry 192.168.2.1 21.0.0.1 register
[R3-Tunnel0/0/0]nhrp entry 192.168.2.4 24.0.0.1 register
[R3-Tunnel0/0/0]nhrp entry mu
[R3-Tunnel0/0/0]nhrp entry multicast dy
[R3-Tunnel0/0/0]nhrp entry multicast dynamic
[R3-Tunnel0/0/0]q[R3]ip route-static 0.0.0.0 0 23.0.0.2
[R3]ospf 1 rou
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0
[R3-ospf-1-area-0.0.0.0]net
[R3-ospf-1-area-0.0.0.0]network 192.168.3.0 0.0.0.255
[R3-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[R3]interface Tunnel 0/0/0
[R3-Tunnel0/0/0]ospf net
[R3-Tunnel0/0/0]ospf network-type bro
[R3-Tunnel0/0/0]ospf network-type broadcast
R4配置
[Huawei]sys r4
[r4]int
[r4]interface l
[r4]interface LoopBack 0
[r4-LoopBack0]ip ad
[r4-LoopBack0]ip address 192.168.4.1 24
[r4-LoopBack0]int
[r4-LoopBack0]intg
[r4-LoopBack0]int g 0/0/0
[r4-GigabitEthernet0/0/0]ip ad
[r4-GigabitEthernet0/0/0]ip address 24.0.0.1 24
Jan 29 2024 21:38:57-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]q
[r4]interface Tunnel 0/0/0
[r4-Tunnel0/0/0]ip address 192.168.2.4 24
[r4-Tunnel0/0/0]tunnel-protocol gre p2mp
[r4-Tunnel0/0/0]sou
[r4-Tunnel0/0/0]source 24.0.0.1
Jan 29 2024 21:40:07-08:00 r4 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r4-Tunnel0/0/0]
[r4-Tunnel0/0/0]nhrp net
[r4-Tunnel0/0/0]nhrp network-id 100
[r4-Tunnel0/0/0]nhrp entry mu
[r4-Tunnel0/0/0]nhrp entry multicast dy
[r4-Tunnel0/0/0]nhrp entry multicast dynamic
[r4-Tunnel0/0/0]nhrp en
[r4-Tunnel0/0/0]nhrp entry 192.168.2.1 21.0.0.1 re
[r4-Tunnel0/0/0]nhrp entry 192.168.2.1 21.0.0.1 register
[r4-Tunnel0/0/0]q
[r4]ip rou
[r4]ip route-st
[r4]ip route-static 0.0.0.0 0 24.0.0.2
[r4]ospf 1 r
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]area 0
[r4-ospf-1-area-0.0.0.0]netw
[r4-ospf-1-area-0.0.0.0]network 192.168.4.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[r4-ospf-1-area-0.0.0.0]q
[r4]interface t
[r4]interface Tunnel 0/0/0
[r4-Tunnel0/0/0]ospf net
[r4-Tunnel0/0/0]ospf network-type b
[r4-Tunnel0/0/0]ospf network-type broadcas
R5配置
[r5]int
[r5]interface g
[r5]interface l
[r5]interface LoopBack 0
[r5-LoopBack0]ip ad
[r5-LoopBack0]ip address 192.168.5.1 24
[r5-LoopBack0]int g 0/0/0
[r5-GigabitEthernet0/0/0]ip ad
[r5-GigabitEthernet0/0/0]ip address 25.0.0.1 24
Jan 29 2024 21:54:03-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]q
[r5]interface Tunnel 0/0/0
[r5-Tunnel0/0/0]ip address 192.168.7.5 24
[r5-Tunnel0/0/0]tu
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]sou
[r5-Tunnel0/0/0]source 25.0.0.1
Jan 29 2024 21:55:53-08:00 r5 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r5-Tunnel0/0/0]
[r5-Tunnel0/0/0]nhrp net
[r5-Tunnel0/0/0]nhrp network-id 50
[r5-Tunnel0/0/0]nhrp entry 192.168.7.1 12.0.0.1 re
[r5-Tunnel0/0/0]nhrp entry 192.168.7.1 12.0.0.1 register
[r5-Tunnel0/0/0]q
[r5]ip route-static 0.0.0.0 0 25.0.0.2
[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]area 0
[r5-ospf-1-area-0.0.0.0]net
[r5-ospf-1-area-0.0.0.0]network 192.168.5.0 0.0.0.255
[r5-ospf-1-area-0.0.0.0]network 192.168.7.0 0.0.0.255
[r5-ospf-1-area-0.0.0.0]q
[r5-ospf-1]q
[r5]int
[r5]interface t
[r5]interface Tunnel 0/0/0
[r5-Tunnel0/0/0]ospf net
[r5-Tunnel0/0/0]ospf network-type br
[r5-Tunnel0/0/0]ospf network-type broadcast
[r5-Tunnel0/0/0]
R6配置
[Huawei]sys r6
[r6]int
[r6]interface l
[r6]interface LoopBack 0
[r6-LoopBack0]ip ad
[r6-LoopBack0]ip address 192.168.6.1 24
[r6-LoopBack0]int g 0/0/0
[r6-GigabitEthernet0/0/0]ip ad
[r6-GigabitEthernet0/0/0]ip address 26.0.0.1 24
Jan 29 2024 22:04:18-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]q
[r6]int
[r6]interface t
[r6]interface Tunnel 0/0/0
[r6-Tunnel0/0/0]ip ad
[r6-Tunnel0/0/0]ip address 192.168.7.6 24
[r6-Tunnel0/0/0]tu
[r6-Tunnel0/0/0]tunnel-protocol gre p2mp
[r6-Tunnel0/0/0]sou
[r6-Tunnel0/0/0]source 26.0.0.1
Jan 29 2024 22:05:16-08:00 r6 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP
on the interface Tunnel0/0/0 has entered the UP state.
[r6-Tunnel0/0/0]
[r6-Tunnel0/0/0]nhrp net
[r6-Tunnel0/0/0]nhrp network-id 50
[r6-Tunnel0/0/0]nhrp entry 192.168.7.1 12.0.0.1 register
[r6-Tunnel0/0/0]q
[r6]ip rou
[r6]ip route-s
[r6]ip route-static 0.0.0.0 0 26.0.0.2
[r6]ospf 1 rou
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]area 0
[r6-ospf-1-area-0.0.0.0]network 192.168.6.0 0.0.0.255
[r6-ospf-1-area-0.0.0.0]network 192.168.7.0 0.0.0.255
[r6-ospf-1-area-0.0.0.0]q
[r6-ospf-1]q
[r6]int
[r6]interface t
[r6]interface Tunnel 0/0/0
[r6-Tunnel0/0/0]ospf net
[r6-Tunnel0/0/0]ospf network-type br
[r6-Tunnel0/0/0]ospf network-type broadcast