R1
[]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 192.168.1.254 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 12.1.1.1 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 192.168.2.0 24 e0/0/1 12.1.1.2
R2
[liushuo]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 12.1.1.2 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 192.168.2.254 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1
R3
[liushuo]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 192.168.1.254 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 12.1.1.1 24
[liushuo-Ethernet0/0/1]int g0/0/0
[liushuo-GigabitEthernet0/0/0]ip ad 23.1.1.1 24
[liushuo-GigabitEthernet0/0/0]q
[liushuo]ip route-static 192.168.2.0 24 e0/0/1 12.1.1.2
[liushuo]ip route-static 192.168.2.0 24 g0/0/0 23.1.1.2
R4
[liushuo]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 12.1.1.2 24
[liushuo-Ethernet0/0/0]int g0/0/0
[liushuo-GigabitEthernet0/0/0]ip ad 23.1.1.2 24
[liushuo-GigabitEthernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 192.168.2.254 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1
[liushuo]ip route-static 192.168.1.0 24 g0/0/0 23.1.1.1
R5
<Huawei>undo t m
<Huawei>sy
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip ad 192.168.1.254 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip ad 12.1.1.1 24
[Huawei-Ethernet0/0/1]q
[Huawei]ip route-static 192.168.2.0 24 e0/0/1 12.1.1.2
[Huawei]ip route-static 192.168.3.0 24 e0/0/1 12.1.1.2
[Huawei]ip route-static 192.168.4.0 24 e0/0/1 12.1.1.2
R6
<Huawei>
<Huawei>undo t m
<Huawei>sy
[Huawei]sy liushuo
[liushuo]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 12.1.1.2 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 192.168.3.254 24
[liushuo-Ethernet0/0/1]int g0/0/1
[liushuo-GigabitEthernet0/0/1]ip ad 192.168.2.254 24
[liushuo-GigabitEthernet0/0/1]int g0/0/0
[liushuo-GigabitEthernet0/0/0]ip ad 192.168.4.254 24
[liushuo-GigabitEthernet0/0/0]q
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1
R7
<Huawei>undo t m
<Huawei>sy
[Huawei]sy liushuo
[liushuo]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 192.168.1.254 24
[liushuo-Ethernet0/0/0]int g0/0/0
[liushuo-GigabitEthernet0/0/0]ip ad 23.1.1.1 24
[liushuo-GigabitEthernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 12.1.1.1 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 0.0.0.0 0 g0/0/0 23.1.1.2
[liushuo]ip route-static 0.0.0.0 0 e0/0/1 12.1.1.2
R8
[liushuo]int g0/0/2
[liushuo-GigabitEthernet0/0/2]ip ad 23.1.1.2 24
[liushuo-GigabitEthernet0/0/2]int e0/0/0
[liushuo-Ethernet0/0/0]ip ad 12.1.1.2 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 192.168.2.254 24
[liushuo-Ethernet0/0/1]int g0/0/0
[liushuo-GigabitEthernet0/0/0]ip ad 192.168.3.254 24
[liushuo-GigabitEthernet0/0/0]int g0/0/1
[liushuo-GigabitEthernet0/0/1]ip ad 192.168.4.254 24
[liushuo-GigabitEthernet0/0/1]q
[liushuo]ip route-static 192.168.1.0 24 g0/0/2 23.1.1.1
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1
R9
<Huawei>
<Huawei>undo t m
<Huawei>sy
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip ad 192.168.1.254 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip ad 12.1.1.1 24
[Huawei-Ethernet0/0/1]q
[Huawei]sy liushuo
[liushuo]ip route-static 192.168.2.0 24 e0/0/1 12.1.1.2
R10
<Huawei>undo t m
<Huawei>sy
[Huawei]int e0/0/0
[Huawei-Ethernet0/0/0]ip ad 12.1.1.2 24
[Huawei-Ethernet0/0/0]int e0/0/1
[Huawei-Ethernet0/0/1]ip ad 23.1.1.1 24
[Huawei-Ethernet0/0/1]q
[Huawei]sy liushuo
[liushuo]ip route-static 192.168.2.0 24 e0/0/1 23.1.1.2
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1
R11
<Huawei>
<Huawei>undo t m
<Huawei>sy
[Huawei]sy liushuo
[liushuo]int e0/0/00
[liushuo-Ethernet0/0/0]ip ad 23.1.1.2 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 13.1.1.1 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 192.168.2.0 24 e0/0/1 13.1.1.2
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 23.1.1.1
R12
<Huawei>undo t m
<Huawei>sy
[Huawei]sy liushuo
[liushuo]int e0/0/00
[liushuo-Ethernet0/0/0]ip ad 13.1.1.2 24
[liushuo-Ethernet0/0/0]int e0/0/1
[liushuo-Ethernet0/0/1]ip ad 192.168.2.254 24
[liushuo-Ethernet0/0/1]q
[liushuo]ip route-static 192.168.1.0 24 e0/0/0 13.1.1.1