[RT1]
<Huawei>sys
[Huawei]sysname RT1
[RT1]int g 0/0/0
[RT1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[RT1-GigabitEthernet0/0/0]int g 0/0/1
[RT1-GigabitEthernet0/0/1]ip address 10.10.12.1 30
[RT1-GigabitEthernet0/0/1]int g 0/0/2
[RT1-GigabitEthernet0/0/2]ip address 100.64.0.2 24
[RT1-GigabitEthernet0/0/1]q
[RT1]ip route-static 10.10.23.0 30 10.10.12.2
[RT1]ip route-static 10.10.34.0 30 10.10.12.2
[RT1]ip route-static 10.10.45.0 30 10.10.12.2
[RT1]ip route-static 192.168.2.0 24 10.10.12.2
[RT1]display ip routing-table(配置验证)
[RT2]
<Huawei>sys
[Huawei]sysname RT2
[RT2]int g 0/0/0
[RT2-GigabitEthernet0/0/0]ip address 10.10.12.2 30
[RT2-GigabitEthernet0/0/0]int g 0/0/1
[RT2-GigabitEthernet0/0/1]ip address 10.10.23.1 30
[RT2-GigabitEthernet0/0/1]q
[RT2]ip route-static 192.168.1.0 24 10.10.12.1
[RT2]ip route-static 10.10.34.0 30 10.10.23.2
[RT2]ip route-static 10.10.45.0 30 10.10.23.2
[RT2]ip route-static 192.168.2.0 24 10.10.23.2
[RT2]ip route-static 0.0.0.0 0 10.10.12.1
[RT2]display ip routing-table
[RT3]
<Huawei>sys
[Huawei]sysname RT3
[RT3]int g 0/0/0
[RT3-GigabitEthernet0/0/0]ip address 10.10.23.2 30
[RT3-GigabitEthernet0/0/0]int g 0/0/1
[RT3-GigabitEthernet0/0/1]ip address 10.10.34.1 30
[RT3-GigabitEthernet0/0/1]q
[RT3]ip route-static 10.10.12.0 30 10.10.23.1
[RT3]ip route-static 192.168.1.0 24 10.10.23.1
[RT3]ip route-static 10.10.45.0 30 10.10.34.2
[RT3]ip route-static 192.168.2.0 24 10.10.34.2
[RT3]ip route-static 0.0.0.0 0 10.10.23.1
[RT3]display ip routing-table
[RT4]
<Huawei>sys
[Huawei]sysname RT4
[RT4]int g 0/0/0
[RT4-GigabitEthernet0/0/0]ip address 10.10.34.2 30
[RT4-GigabitEthernet0/0/0]int g 0/0/1
[RT4-GigabitEthernet0/0/1]ip address 10.10.45.1 30
[RT4-GigabitEthernet0/0/1]q
[RT4]ip route-static 192.168.2.0 24 10.10.45.2
[RT4]ip route-static 10.10.23.0 30 10.10.34.1
[RT4]ip route-static 10.10.12.0 30 10.10.34.1
[RT4]ip route-static 192.168.1.0 24 10.10.34.1
[RT4]ip route-static 0.0.0.0 0 10.10.34.1
[RT4]display ip routing-table
[RT5]
<Huawei>sys
[Huawei]sysname RT5
[RT5]int g 0/0/0
[RT5-GigabitEthernet0/0/0]ip address 10.10.45.2 30
[RT5-GigabitEthernet0/0/0]int g 0/0/1
[RT5-GigabitEthernet0/0/1]ip address 192.168.2.254 24
[RT5-GigabitEthernet0/0/1]q
[RT5]ip route-static 10.10.34.0 30 10.10.45.1
[RT5]ip route-static 10.10.23.0 30 10.10.45.1
[RT5]ip route-static 10.10.12.0 30 10.10.45.1
[RT5]ip route-static 192.168.1.0 24 10.10.45.1
[RT5]ip route-static 0.0.0.0 0 10.10.45.1
[RT5]display ip routing-table
[RT6]
<Huawei>sys
[Huawei]sysname RT6
[RT6]int g 0/0/0
[RT6-GigabitEthernet0/0/0]ip address 100.64.0.1 24
[RT6-GigabitEthernet0/0/0]q
[RT6]ip route-static 0.0.0.0 0 100.64.0.2
[RT6]display ip routing-table