Have you configured no bgp default route-target filter on the ASBR? I am assuming you are doing an Option-B NNI in this case. Because creating a VRF on the ASBR helps, I think you might be missing this command
I think you need to look at your eBGP configuration. You have a /32 host route for the BGP next-hop 172.16.0.4, but the BGP next-hop for the problematic route is 172.26.107.94. Verify the reason why the next-hops are different, as I assume you are pairing with loopbacks across two interfaces (G0/0 and G0/1).
Outputs from your PE would also be helpful, for us to see the VPN label, BGP next-hop sent to the PE.
Also labels 22 get swapped to 18 and not the other way.
AS1 PE --ibgp-- AS1 ASBR (172.26.107.94) ----ebgp---- AS2 ASBR (172.26.107.93) --ibgp-- AS2 PE (lo0 172.16.0.4)
From the AS2 ASBR the next hop for the internal route is the lo0 of the AS2 PE and the next hop for the AS1 route is the ip address of the btb interface (the ebgp peer is built on the directed connected interface). So no problem on the ebgp next hop.
The label swap from 22 to 18 is unidirectional and is used for the traffic coming from AS1 PE directed to the AS2 PE for destination network annouced by AS2PE.
From the AS2PE point of view there is no problem on the traffic forwarding (label 20 is imposed to the packet and this is the right behaviour) but AS2ASBR doesn't swap it with label 100192 because it is not in the mpls forwarding table. so i think that the problem is not on the PE but in the behaviour of the ASBR.
Can you give the output of the show mpls forwarding on AS2 PE. I will like to know the label stack it uses for sending traffic to AS1 via AS2 ASBR. Kind of confirming that it is using label 20, and not that ASBR is not swapping.
Introduction: The "external-out enable" command is available for
configuration under the "router ospf process" in case of the IOS-XR
operating system. This command basically enables advertisement of
intra-area routes on the device as external routes in th...
Introduction Basic configuration for netflow Scale parameters for
netflow Netflow support Architecture Packet flow for netflow Inside the
LC CPU Netflow Cache size, maintenance and memory Sample usage Cache
Size Aging Permanent cache Characteristics Which...