We are trying to use BGP and VRF on our border gateway.
We have two ISP (ISP1 ISP2) and a BGP session with each of them.
On the border gateway we have two VRF: each of them is associated
to a different local AS (AS1 AS2).
The BGP process defined on the border is BGP AS2 and we defined
two BGP session: the first with the AS-ISP1 and the second
router bgp AS2
network x.y.0.0 mask 255.255.224.0
aggregate-address x.y.0.0 255.255.224.0
neighbor 126.96.36.199 remote-as AS-ISP1
neighbor 188.8.131.52 local-as AS1
neighbor 184.108.40.206 version 4
neighbor 220.127.116.11 remote-as AS-ISP2
neighbor 18.104.22.168 ebgp-multihop 255
neighbor 22.214.171.124 version 4
The problem is that the ISP2 correctly receives our announced
network with AS-Path: AS2
whereas ISP1 receives our announced network
with the AS-Path: AS1, AS2: we would instead the
AS-Path to be AS1.
We cannot use the replace-as feature because it is not supported
in our IOS release 12.2(18)SXF6. Is there any other way to do it ?