R7
<Huawei>undo t m
<Huawei>sy
[Huawei]sy zjlfc
[zjlfc]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 192.168.1.254 24
[zjlfc-Ethernet0/0/0]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 23.1.1.1 24
[zjlfc-GigabitEthernet0/0/0]int e0/0/1
[zjlfc-Ethernet0/0/1]ip ad 12.1.1.1 24
[zjlfc-Ethernet0/0/1]q
[zjlfc]ip route-static 0.0.0.0 0 g0/0/0 23.1.1.2
[zjlfc]ip route-static 0.0.0.0 0 e0/0/1 12.1.1.2
R8
[zjlfc]int g0/0/2
[zjlfc-GigabitEthernet0/0/2]ip ad 23.1.1.2 24
[zjlfc-GigabitEthernet0/0/2]int e0/0/0
[zjlfc-Ethernet0/0/0]ip ad 12.1.1.2 24
[zjlfc-Ethernet0/0/0]int e0/0/1
[zjlfc-Ethernet0/0/1]ip ad 192.168.2.254 24
[zjlfc-Ethernet0/0/1]int g0/0/0
[zjlfc-GigabitEthernet0/0/0]ip ad 192.168.3.254 24
[zjlfc-GigabitEthernet0/0/0]int g0/0/1
[zjlfc-GigabitEthernet0/0/1]ip ad 192.168.4.254 24
[zjlfc-GigabitEthernet0/0/1]q
[zjlfc]ip route-static 192.168.1.0 24 g0/0/2 23.1.1.1
[zjlfc]ip route-static 192.168.1.0 24 e0/0/0 12.1.1.1