R1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy R1
[R1]int e0/0/0
[R1-Ethernet0/0/0]ip ad 192.168.1.254 24
[R1-Ethernet0/0/0]int e0/0/1
[R1-Ethernet0/0/1]ip ad 12.1.1.1 24
[R1-Ethernet0/0/1]q
[R1]rip 1
[R1-rip-1]version 2
[R1-rip-1]net 192.168.1.0
[R1-rip-1]net 12.0.0.0
R2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy R2
[R2]int e0/0/0
[R2-Ethernet0/0/0]ip ad 12.1.1.2 24
[R2-Ethernet0/0/0]int e0/0/1
[R2-Ethernet0/0/1]ip ad 23.1.1.1 24
[R2-Ethernet0/0/1]q
[R2]rip
[R2-rip-1]v 2
[R2-rip-1]net 12.0.0.0
[R2-rip-1]net 23.0.0.0
R3
<Huawei>undo t m
<Huawei>sy
[Huawei]sy R3
[R3]int e0/0/0
[R3-Ethernet0/0/0]ip ad 23.1.1.2 24
[R3-Ethernet0/0/0]int e 0/0/1
[R3-Ethernet0/0/1]ip ad 34.1.1.1 24
[R3-Ethernet0/0/1]q
[R3]rip 1
[R3-rip-1]v 2
[R3-rip-1]net 23.0.0.0
[R3-rip-1]net 34.0.0.0
R4
<Huawei>undo t m
<Huawei>sy
[Huawei]sy R4
[R4]int e0/0/0
[R4-Ethernet0/0/0]ip ad 34.1.1.2 24
[R4-Ethernet0/0/0]int e0/0/1
[R4-Ethernet0/0/1]ip ad 192.168.2.254 24
[R4-Ethernet0/0/1]q
[R4]rip
[R4-rip-1]v 2
[R4-rip-1]net 34.0.0.0
[R4-rip-1]net 192.168.2.0