<div dir="ltr">Hi Rendo,<div><br></div><div>I'll let Mitesh check on and respond to why you are unable to configure the "advertise ipv4 unicast" command. It is possible some commit has been missed. We do have some additional fixes that Mitesh is in the process of submitting. In any case, the idea is to control the injection of EVPN type-5 routes using this command. We're going to support a route-map option also for it in an upcoming commit.</div><div><br></div><div>Regarding advertising subnet routes for the locally configured subnets, we're having a rethink on the need for an additional command. The same can be achieved by redistributing connected routes of the VRF into BGP and then using the "advertise ipv4 unicast" command. Control for advertising specific subnets can be currently achieved through use of route-map for the redistribute command, and subsequently, using route-map for the "advertise" command. Our documents aren't updated yet as we haven't concluded on this, however, I recommend that you try out this approach as soon as the "advertise ipv4 unicast" command is working.</div><div><br></div><div>Thanks,</div><div>Vivek</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 7:09 PM, rendo <span dir="ltr"><<a href="mailto:rendo.aw@gmail.com" target="_blank">rendo.aw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Hi Mitesh, <br><br>maybe i am missing something, looks like the cli reject it<br><br><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>linux-93# conf t</div><div>linux-93(config)# router bgp 64000 vrf vrf-110</div><div>linux-93(config-router)# address-family l2vpn evpn</div><div>Only Unicast and Multicast SAFIs supported in non-core instances.</div><div>linux-93(config-router)#</div></blockquote><div><br>and this is my vrf</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>linux-93# show ip route vrf vrf-110</div></div><div><div>Codes: K - kernel route, C - connected, S - static, R - RIP,</div></div><div><div> O - OSPF, I - IS-IS, B - BGP, P - PIM, E - EIGRP, N - NHRP,</div></div><div><div> T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,</div></div><div><div> > - selected route, * - FIB route</div></div><div><div><br></div></div><div><div><br></div></div><div><div>VRF vrf-110:</div></div><div><div>C>* <a href="http://10.93.193.0/24" target="_blank">10.93.193.0/24</a> is directly connected, ens7, 2d01h49m</div></div><div><div>C>* <a href="http://10.93.253.0/24" target="_blank">10.93.253.0/24</a> is directly connected, br110, 2d01h49m</div></div></blockquote><div><div><br></div><div><br></div><div>I also tried "advertise-subnet" as mentioned in cumulus doc, the command is rejected too</div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div>linux-93(config)# router bgp 64000</div></div></div><div><div><div>linux-93(config-router)# address-family l2vpn evpn</div></div></div><div><div><div>linux-93(config-router-af)# vni 20110</div></div></div><div><div><div>linux-93(config-router-af-vni)<wbr># advertise-subnet</div></div></div><div><div><div>% Unknown command.</div></div></div></blockquote><div><div><br></div><div><br></div><div>I tried few other thing, and this is my current config. It still the same, my instance can receive RT 5 prefix, but it send nothing.</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><div>vrf vrf-110</div></div></div><div><div><div> vni 20110</div></div></div><div><div><div>!</div></div></div><div><div><div><br></div></div></div><div><div><div>...</div></div></div><div><div><div><br></div></div></div><div><div><div>router bgp 64000</div></div></div><div><div><div> coalesce-time 1000</div></div></div><div><div><div> neighbor 10.0.0.11 remote-as 64000</div></div></div><div><div><div> neighbor 10.0.0.11 update-source 10.0.0.93</div></div></div><div><div><div> !</div></div></div><div><div><div> address-family l2vpn evpn</div></div></div><div><div><div> neighbor 10.0.0.11 activate</div></div></div><div><div><div> vni 20110</div></div></div><div><div><div> rd <a href="http://10.0.0.93:110" target="_blank">10.0.0.93:110</a></div></div></div><div><div><div> route-target import 64000:110</div></div></div><div><div><div> route-target export 64000:110</div></div></div><div><div><div> advertise-default-gw</div></div></div><div><div><div> exit-vni</div></div></div><div><div><div> vni 10100</div></div></div><div><div><div> rd <a href="http://10.0.0.93:100" target="_blank">10.0.0.93:100</a></div></div></div><div><div><div> route-target import 64200:100</div></div></div><div><div><div> route-target export 64200:100</div></div></div><div><div><div> exit-vni</div></div></div><div><div><div> advertise-all-vni</div></div></div><div><div><div> advertise ipv4 unicast</div></div></div><div><div><div> exit-address-family</div></div></div><div><div><div> vrf-policy vrf-110<br></div></div></div><div><div><div> rd <a href="http://10.0.0.93:901" target="_blank">10.0.0.93:901</a></div></div></div><div><div><div> rt both 64000:901</div></div></div><div><div><div> exit-vrf-policy</div></div></div><div><div><div> vnc defaults</div></div></div><div><div><div> exit-vnc</div></div></div><div><div><div>!</div></div></div><div><div><div>router bgp 64000 vrf vrf-110</div></div></div><div><div><div> coalesce-time 1000</div></div></div><div><div><div> !</div></div></div><div><div><div> address-family ipv4 unicast</div></div></div><div><div><div> network <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a></div></div></div><div><div><div> redistribute kernel</div></div></div><div><div><div> redistribute connected</div></div></div><div><div><div> redistribute static</div></div></div><div><div><div> exit-address-family</div></div></div><div><div><div>!</div></div></div><div><div><div><br></div></div></div><div><div><div><br></div></div></div><div><div><div><br></div></div></div><div><div><div>linux-93# show bgp l2vpn evpn</div></div></div><div><div><div><br></div></div></div><div><div><div>...</div></div></div><div><div><div>Route Distinguisher: ip <a href="http://10.0.0.21:110" target="_blank">10.0.0.21:110</a></div></div></div><div><div><div><br></div></div></div><div><div><div>*>i[5]:[0]:[24]:[10.21.121.0]</div></div></div><div><div><div> 10.0.1.21 0 100 0 ?</div></div></div><div><div><div>...</div></div></div><div><div><div><br></div></div></div><div><div><div><br></div></div></div><div><div><div>*>i[5]:[0]:[24]:[10.25.125.0]</div></div></div><div><div><div> 10.0.0.25 100 0 i</div></div></div><div><div><div>Route Distinguisher: ip <a href="http://10.0.0.93:100" target="_blank">10.0.0.93:100</a></div></div></div><div><div><div><br></div></div></div><div><div><div>...</div></div></div></blockquote><div><div><br></div><div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br clear="all"><div><div class="m_-4244478883250526329gmail_signature"><div dir="ltr"><div><br></div><div>rendo</div><div><br></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 16, 2018 at 5:31 PM, Mitesh Kanjariya <span dir="ltr"><<a href="mailto:mitesh@cumulusnetworks.com" target="_blank">mitesh@cumulusnetworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Rendo, <div><br></div><div> You need to enable type-5 route advertisement. Please find an example below. The CLI in red will do the trick.</div><div><br></div><div> <span style="color:rgb(69,69,69);font-family:"Helvetica Neue";font-size:12px">router bgp <> vrf <></span></div>
<p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"> address-family l2vpn evpn</p>
<p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue""><span style="color:rgb(69,69,69)"> </span><font color="#ff0000"> advertise ipv4 unicast</font></p>
<p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"> exit-address-family</p>
<p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"> end</p><p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><br></p><p class="m_-4244478883250526329gmail-m_-4652605601657423731gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"> For reference yo could follow: <a href="https://docs.cumulusnetworks.com/display/DOCS/Ethernet+Virtual+Private+Network+-+EVPN" target="_blank">https://docs.cumulusne<wbr>tworks.com/display/DOCS/<wbr>Ethernet+Virtual+Private+Netwo<wbr>rk+-+EVPN</a></p></div><div class="gmail_extra"><div><div class="m_-4244478883250526329gmail-h5"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 2:02 PM, rendo <span dir="ltr"><<a href="mailto:rendo.aw@gmail.com" target="_blank">rendo.aw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Donald, <br><br>Thanks for the update and thanks for everyone involved to make this happen. <div><br>Out of my curiosity, I did a quick test, and evpn type 2 looks very good, both control plane and data plane works as expected. <div>For type 5, i can see my FRR is able to receive the prefix, but i could not find a way to advertise my local prefix as type 5. Please let me know if you have any doc/pointer for this. <br><br></div></div><div><br></div><div>Thanks.</div><div class="gmail_extra"><br clear="all"><div><div class="m_-4244478883250526329gmail-m_-4652605601657423731m_6425426767278521521gmail_signature"><div dir="ltr"><div>rendo</div><div><br></div></div></div></div>
<br><div class="gmail_quote"><div><div class="m_-4244478883250526329gmail-m_-4652605601657423731h5">On Sat, Jan 13, 2018 at 8:05 AM, Donald Sharp <span dir="ltr"><<a href="mailto:sharpd@cumulusnetworks.com" target="_blank">sharpd@cumulusnetworks.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="m_-4244478883250526329gmail-m_-4652605601657423731h5">All -<br>
<br>
EVPN control plane in FRR is now enhanced so that it supports both<br>
asymmetric and symmetric routing models. Prefix-based routing is also<br>
supported using EVPN type-5 routes. Also, with all routing models, L3<br>
multi-tenancy is inherently supported<br>
<br>
I'd like to thank Mitesh for his hard work getting this done!<br>
<br>
thanks!<br>
<br>
donald<br>
<br></div></div>
______________________________<wbr>_________________<br>
frog mailing list<br>
<a href="mailto:frog@lists.frrouting.org" target="_blank">frog@lists.frrouting.org</a><br>
<a href="https://lists.frrouting.org/listinfo/frog" rel="noreferrer" target="_blank">https://lists.frrouting.org/li<wbr>stinfo/frog</a><br>
</blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><span class="m_-4244478883250526329gmail-HOEnZb"><font color="#888888">-- <br><div class="m_-4244478883250526329gmail-m_-4652605601657423731gmail_signature"><div dir="ltr">Regards,<div>Mitesh</div></div></div>
</font></span></font></span></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div>