AR160 work as CE device, AR2200 work as PE device. On AR160, G0/0/0 connect to private network and binding to VPN instance test. G0/0/1 connect to PE device and binding to VPN instance test too. OSPF protocol use to exchange routing between CE and PE. After OSPF peer state change to normal on PE and CE device, the PE device cannot learn the private route advertise on CE device.

NA

1. Checking the OSPF peer state, it is normal and there is no limit for routing learning.
2. Checking OSPF LSDB table, the routing already in the LSDB.Subnet 10.0.4.0
3. Checking the ospf peer informaiton, the Tag value is 1. As both of the tag value is 1, the OSPF protocol will think there is a network loop,Therefore, OSPF detects routing loops when calculating routes.

When OSPF protocol binding with vpn-instance, if both of the tag value is 1, the OSPF protocol will think there is a network loop,Therefore, OSPF detects routing loops when calculating routes.

Set the tag to 3 when CE device import the private to ospf protocol.
#
ospf 1 router-id 10.100.100.74 vpn-instance test
import-route direct
import-route static tag 3
area 0.0.0.1
network 10.100.100.28 0.0.0.3
network 10.100.100.72 0.0.0.3
#
END