[j-nsp] MPLS/vrf-import

Johan Borch johan.borch at gmail.com
Thu Mar 5 15:19:40 EST 2015


Hi again

I really don't get this :)

What I'm trying to do is to merge routes from one vrf into another. I have
create this simple vrf-import policy

term TEST {

    from {

        protocol bgp;

        community [ VRFONE VRFTWO ];

    }

    then accept;

}

term Default {

    then reject;

}


When I look at the routes that gets imported from VRFTWO it says:

Next hop: 1.1.1.1 via xe-1/2/3.0 weight 0x1, selected

State: <Secondary Hidden Int Ext>

Local AS: 65534 Peer AS: 65534

AS path: 65534 I (Looped: 65534)

What am I missing here? :)

Johan

On Thu, Mar 5, 2015 at 11:29 AM, Johan Borch <johan.borch at gmail.com> wrote:

> Hi!
>
> I have a MPLS network that uses for example ASN65534 for BGP connecting
> the PE's. On these I have a VRF XYZ with target 65534:1. It all works but
> now I have to import another target into VRF XYZ with AS 65533 and here the
> problem starts.
>
> looking at the routes in VRF XYZ i can see that my the routes from target
> 65533:1 gets imported as hidden with reason Looped. It's hard to change the
> AS-numbers and I see that It should probably not have used the same
> AS-number for both BGP and for the VRF, is there anyway around this?
>
> Regards
> Johan
>


More information about the juniper-nsp mailing list