[j-nsp] MPLS/vrf-import
Johan Borch
johan.borch at gmail.com
Thu Mar 5 15:48:21 EST 2015
Hi
Thanks, that will be hard to implement live i guess ;)
The routes that I want to install is all remotely learned, no local.
Johan
On Thu, Mar 5, 2015 at 9:40 PM, Harry Reynolds <harry at juniper.net> wrote:
> You might try as-path-loops = 2 under main instance routing-options. As
> displayed it seems the box has detected its own AS and hidden due to a
> loop. Note this is a global setting and may reset connections/have
> repercussions if real loops exist. Use with some thought.
>
> Also, consider rib groups (or the simplified form known as auto-export) if
> you want to leak between vrfs. Below is typically more for installing a
> remotely learned route from the bgp.l3vpn table into multiple vrfs.
>
>
> Regards
>
>
>
> -----Original Message-----
> From: juniper-nsp [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf
> Of Johan Borch
> Sent: Thursday, March 05, 2015 12:20 PM
> To: juniper-nsp at puck.nether.net
> Subject: Re: [j-nsp] MPLS/vrf-import
>
> 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
> >
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
More information about the juniper-nsp
mailing list