Re: [j-nsp] options for adding communities to an EVPN routing-instance?

2016-05-13 Thread Adam Vitkovsky
Great news thank you very much for getting back with the solution

>

Adam Vitkovsky
IP Engineer

T:  0333 006 5936
E:  adam.vitkov...@gamma.co.uk
W:  www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of 
this email are confidential to the ordinary user of the email address to which 
it was addressed. This email is not intended to create any legal relationship. 
No one else may place any reliance upon it, or copy or forward all or any of it 
in any form (unless otherwise notified). If you receive this email in error, 
please accept our apologies, we would be obliged if you would telephone our 
postmaster on +44 (0) 808 178 9652 or email postmas...@gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with 
limited liability, with registered number 04340834, and whose registered office 
is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at 
Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.


-Original Message-
> From: juniper-nsp [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf
> Of Andrey Kostin
> Sent: Friday, May 13, 2016 7:55 PM
> To: juniper-nsp@puck.nether.net
> Subject: Re: [j-nsp] options for adding communities to an EVPN routing-
> instance?
>
> I was able to add ordinary communities to l2vpn NLRIs via vrf-export policy
> attached to routing-instance to allow them later pass route reflector's
> policies. The small caveat is that vrf-export overrides default policy
> generated by vrf-target and both communities (target:x:x and ASN:x) must
> be _added_ in the policy but it's documented pretty clear. May be it will work
> this way for evpn as well.
>
> WBR,
> Andrey
>
>
> Adam Vitkovsky писал 11.05.2016 10:04:
> >> Michael Hare
> >> Sent: Saturday, April 23, 2016 12:12 AM
> >>
> >> Does anyone know if it is possible and how to add communities to
> >> routes to
> >> an EVPN routing-instance in the instance configuration itself?  For
> >> example,
> >> in bgp.evpn.0, I have
> >>
> >> 2:a.b.c.d:200::1900::00:1f:45:a0:1b:bb/304 (2 entries, 0 announced)
> >> ...
> >> Communities: target:64900:200
> >>
> >> I'd like to be able to add, for example, $MYISP:12345 to the mac
> >> announcements.  I haven't tried but am guessing I could do this in
> >> the IBGP
> >> export policy using 'from instance' but this is suboptimal because
> >> then my PE
> >> will need different export policies whereas they are currently now
> >> all
> >> congruent.
> >>
> > Very interesting question indeed,
> > and I believe it's valid requirement as well.
> >
> > I'm just trying to find out, to no avail, if one can control what MAC
> > addresses make it from MAC address table to MP-BGP and with what
> > attributes.
> > If such a policy attachment point would exist one could tag MAC
> > addresses with standard communities there (but I think no such thing
> > exist in Junos or XR)
> >
> > So when you tried to tag the MAC routes using iBGP peer export policy
> > -has that worked please?
> >
> >
> > adam
> >
> >
> > Adam Vitkovsky
> > IP Engineer
> >
>
> ___
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] options for adding communities to an EVPN routing-instance?

2016-05-13 Thread Andrey Kostin
I was able to add ordinary communities to l2vpn NLRIs via vrf-export 
policy attached to routing-instance to allow them later pass route 
reflector's policies. The small caveat is that vrf-export overrides 
default policy generated by vrf-target and both communities (target:x:x 
and ASN:x) must be _added_ in the policy but it's documented pretty 
clear. May be it will work this way for evpn as well.


WBR,
Andrey


Adam Vitkovsky писал 11.05.2016 10:04:

Michael Hare
Sent: Saturday, April 23, 2016 12:12 AM

Does anyone know if it is possible and how to add communities to 
routes to
an EVPN routing-instance in the instance configuration itself?  For 
example,

in bgp.evpn.0, I have

2:a.b.c.d:200::1900::00:1f:45:a0:1b:bb/304 (2 entries, 0 announced) 
...

Communities: target:64900:200

I'd like to be able to add, for example, $MYISP:12345 to the mac
announcements.  I haven't tried but am guessing I could do this in 
the IBGP
export policy using 'from instance' but this is suboptimal because 
then my PE
will need different export policies whereas they are currently now 
all

congruent.


Very interesting question indeed,
and I believe it's valid requirement as well.

I'm just trying to find out, to no avail, if one can control what MAC
addresses make it from MAC address table to MP-BGP and with what
attributes.
If such a policy attachment point would exist one could tag MAC
addresses with standard communities there (but I think no such thing
exist in Junos or XR)

So when you tried to tag the MAC routes using iBGP peer export policy
-has that worked please?


adam


Adam Vitkovsky
IP Engineer



___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] options for adding communities to an EVPN routing-instance?

2016-05-11 Thread Michael Hare
Adam-

I opened a JTAC case a few weeks back and was told to use the bgp export policy 
method.  I haven't tried it in our lab yet, as I'm not keen on the method.  To 
be fair I was looking at instance granularity, not mac address.  If I end up 
testing something, I'll report back.

-Michael

> -Original Message-
> From: Adam Vitkovsky [mailto:adam.vitkov...@gamma.co.uk]
> Sent: Wednesday, May 11, 2016 9:04 AM
> To: Michael Hare ; juniper-nsp@puck.nether.net
> Subject: RE: options for adding communities to an EVPN routing-instance?
> 
> > Michael Hare
> > Sent: Saturday, April 23, 2016 12:12 AM
> >
> > Does anyone know if it is possible and how to add communities to routes to
> > an EVPN routing-instance in the instance configuration itself?  For example,
> > in bgp.evpn.0, I have
> >
> > 2:a.b.c.d:200::1900::00:1f:45:a0:1b:bb/304 (2 entries, 0 announced) ...
> > Communities: target:64900:200
> >
> > I'd like to be able to add, for example, $MYISP:12345 to the mac
> > announcements.  I haven't tried but am guessing I could do this in the IBGP
> > export policy using 'from instance' but this is suboptimal because then my 
> > PE
> > will need different export policies whereas they are currently now all
> > congruent.
> >
> Very interesting question indeed,
> and I believe it's valid requirement as well.
> 
> I'm just trying to find out, to no avail, if one can control what MAC 
> addresses
> make it from MAC address table to MP-BGP and with what attributes.
> If such a policy attachment point would exist one could tag MAC addresses with
> standard communities there (but I think no such thing exist in Junos or XR)
> 
> So when you tried to tag the MAC routes using iBGP peer export policy -has
> that worked please?
> 
> 
> adam
> 
> 
> Adam Vitkovsky
> IP Engineer
> 
> T:  0333 006 5936
> E:  adam.vitkov...@gamma.co.uk
> W:  www.gamma.co.uk
> 
> This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents
> of this email are confidential to the ordinary user of the email address to 
> which
> it was addressed. This email is not intended to create any legal 
> relationship. No
> one else may place any reliance upon it, or copy or forward all or any of it 
> in
> any form (unless otherwise notified). If you receive this email in error, 
> please
> accept our apologies, we would be obliged if you would telephone our
> postmaster on +44 (0) 808 178 9652 or email postmas...@gamma.co.uk
> 
> Gamma Telecom Limited, a company incorporated in England and Wales, with
> limited liability, with registered number 04340834, and whose registered 
> office
> is at 5 Fleet Place London EC4M 7RD and whose principal place of business is 
> at
> Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
> 

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Re: [j-nsp] options for adding communities to an EVPN routing-instance?

2016-05-11 Thread Adam Vitkovsky
> Michael Hare
> Sent: Saturday, April 23, 2016 12:12 AM
>
> Does anyone know if it is possible and how to add communities to routes to
> an EVPN routing-instance in the instance configuration itself?  For example,
> in bgp.evpn.0, I have
>
> 2:a.b.c.d:200::1900::00:1f:45:a0:1b:bb/304 (2 entries, 0 announced) ...
> Communities: target:64900:200
>
> I'd like to be able to add, for example, $MYISP:12345 to the mac
> announcements.  I haven't tried but am guessing I could do this in the IBGP
> export policy using 'from instance' but this is suboptimal because then my PE
> will need different export policies whereas they are currently now all
> congruent.
>
Very interesting question indeed,
and I believe it's valid requirement as well.

I'm just trying to find out, to no avail, if one can control what MAC addresses 
make it from MAC address table to MP-BGP and with what attributes.
If such a policy attachment point would exist one could tag MAC addresses with 
standard communities there (but I think no such thing exist in Junos or XR)

So when you tried to tag the MAC routes using iBGP peer export policy -has that 
worked please?


adam


Adam Vitkovsky
IP Engineer

T:  0333 006 5936
E:  adam.vitkov...@gamma.co.uk
W:  www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of 
this email are confidential to the ordinary user of the email address to which 
it was addressed. This email is not intended to create any legal relationship. 
No one else may place any reliance upon it, or copy or forward all or any of it 
in any form (unless otherwise notified). If you receive this email in error, 
please accept our apologies, we would be obliged if you would telephone our 
postmaster on +44 (0) 808 178 9652 or email postmas...@gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with 
limited liability, with registered number 04340834, and whose registered office 
is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at 
Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

[j-nsp] options for adding communities to an EVPN routing-instance?

2016-04-22 Thread Michael Hare
Does anyone know if it is possible and how to add communities to routes to an 
EVPN routing-instance in the instance configuration itself?  For example, in 
bgp.evpn.0, I have

2:a.b.c.d:200::1900::00:1f:45:a0:1b:bb/304 (2 entries, 0 announced)
...
Communities: target:64900:200

I'd like to be able to add, for example, $MYISP:12345 to the mac announcements. 
 I haven't tried but am guessing I could do this in the IBGP export policy 
using 'from instance' but this is suboptimal because then my PE will need 
different export policies whereas they are currently now all congruent.

Sorry if this is a rookie question, I don't have experience with l3vpns or 
route leaking.

-Michael
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp