[j-nsp] conditional route import
Alexander Arseniev
arseniev at btinternet.com
Mon Mar 13 08:27:32 EDT 2017
Hello,
You can do it easily in BGP Route Reflector export policy coupled with
other features like ORR and NH rewriting.
There could be complexities with PE config (obviously, the PE would
prefer eBGP route direct from CE vs iBGP from RR) but they can be
overcome with routing-instances.
HTH
Thx
Alex
On 12/03/2017 10:32, adamv0025 at netconsultings.com wrote:
> Hi folks,
>
> Anyone tried to use "if-route-exists" or the "rib has route" condition for
> route import as opposed to the more usual route export or default route
> origination respectively?
> Can't find it documented anywhere and it's not working, but I'm just curious
> what are your thoughts on the concept of general routing behaviour
> programmability using routing information.
> I need the network to reprogram itself based on routing events without the
> YANG/NETCONF complexity.
> And for that I'd need a route and it's specific parameter or a set of
> parameters to be used as an instruction or a trigger.
> I'd like to be able to use a more general from of condition in
> routing-policies (or even forwarding filters or QOS-policies).
>
> Example:
>
> condition_1
> if (route = x.x.x.x/x in VRF A) AND (igp metric to NH < 100)
> then
> condition_1 == TRUE
>
> route-policy 1
> if
> route = y.y.y.y/y AND if condition_1 == TRUE
> then
> set local-preference 120 AND accept
>
> bgp
> VRF A neighbour z.z.z.z route-policy 1 in
>
>
>
> Options:
> The trigger route can be constructed at the trigger router and advertised
> into an intended VRF or to a separate "instructions-VRF", dedicated to
> contain these special purpose routes if we don't want to mix these
> instruction routes with regular routing information.
> Or the trigger route could be a regular routing info with a specific set of
> attributes that we intend to use as a marker of a specific network event
> that we want to act upon in case it happens.
>
>
> I'd appreciate any feedback.
>
>
> adam
>
> netconsultings.com
> ::carrier-class solutions for the telecommunications industry::
>
>
> _______________________________________________
> 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