AR18
<Huawei>undo t m
<Huawei>sy
[Huawei]sy AR18
[AR18]int g0/0/0
[AR18-GigabitEthernet0/0/0]ip ad 10.1.1.254 24
[AR18-GigabitEthernet0/0/0]int g0/0/1
[AR18-GigabitEthernet0/0/1]ip ad 10.1.2.254 24
[AR18-GigabitEthernet0/0/1]int g0/0/2
[AR18-GigabitEthernet0/0/2]ip ad 12.1.1.1 24
[AR18-GigabitEthernet0/0/2]ospf 1
[AR18-ospf-1]a 0
[AR18-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[AR18-ospf-1-area-0.0.0.0]net 10.1.1.0 0.0.0.255
[AR18-ospf-1-area-0.0.0.0]net 10.1.2.0 0.0.0.255
[AR18-ospf-1-area-0.0.0.0]q
[AR18-ospf-1]q
[AR18]ip route-static 0.0.0.0 0 g0/0/2 12.1.1.2
AR19
<Huawei>undo t m
<Huawei>sy
[Huawei]sy AR19
[AR19]int g0/0/0
[AR19-GigabitEthernet0/0/0]ip ad 12.1.1.2 24
[AR19-GigabitEthernet0/0/0]int g0/0/1
[AR19-GigabitEthernet0/0/1]ip ad 23.1.1.1 24
[AR19-GigabitEthernet0/0/1]ospf 1
[AR19-ospf-1]a 0
[AR19-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[AR19-ospf-1-area-0.0.0.0]q
[AR19-ospf-1]q
[AR19]ip route-static 0.0.0.0 0 g0/0/1 23.1.1.2
[AR19]acl 2000
[AR19-acl-basic-2000]rule permit source 10.1.1.0 0.0.0.255
[AR19-acl-basic-2000]q
[AR19]int g0/0/1
[AR19-GigabitEthernet0/0/1]nat outbound 2000
AR20
<Huawei>undo t m
<Huawei>sy
[AR199]sy AR19
[AR19]int g0/0/0
[AR19-GigabitEthernet0/0/0]ip ad 23.1.1.2 24
[AR19-GigabitEthernet0/0/0]int g0/0/1
[AR19-GigabitEthernet0/0/1]ip ad 10.1.3.254 24