AR1
<Huawei>undo t m
<Huawei>sy
[Huawei]sy AR1
[AR1]int g0/0/0
[AR1-GigabitEthernet0/0/0]ip ad 192.168.1.254 24
[AR1-GigabitEthernet0/0/0]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip ad 192.168.2.254 24
[AR1-GigabitEthernet0/0/1]int g0/0/2
[AR1-GigabitEthernet0/0/2]ip ad 12.1.1.1 24
[AR1-GigabitEthernet0/0/2]ospf 1
[AR1-ospf-1]a 0
[AR1-ospf-1-area-
0.0.0.0]net 192.168.1.0 0.0.0.255
[AR1-ospf-1-area-0.0.0.0]net 192.168.2.0 0.0.0.255
[AR1-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
AR2
<Huawei>undo t m
<Huawei>sy
[Huawei]sy AR2
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]ip ad 192.168.3.254 24
[AR2-GigabitEthernet0/0/0]int g0/0/1
[AR2-GigabitEthernet0/0/1]ip ad 192.168.4.254 24
[AR2-GigabitEthernet0/0/1]int g0/0/2
[AR2-GigabitEthernet0/0/2]ip ad 12.1.1.2 24
[AR2-GigabitEthernet0/0/2]ospf 1
[AR2-ospf-1]a 0
[AR2-ospf-1-area-0.0.0.0]net 192.168.3.0 0.0.0.255
[AR2-ospf-1-area-0.0.0.0]net 192.168.4.0 0.0.0.255
[AR2-ospf-1-area-0.0.0.0]net 12.1.1.0 0.0.0.255
[AR2]acl 2000
[AR2-acl-basic-2000]rule deny source 192.168.1.0 0.0.0.255
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]traffic-filter outbound acl 2000