<div dir="ltr"><div>Hello,</div><div><br></div><div>No, in the template you can set a "default" filter for example. But if you set the filter in the template's child, the setting gets overwritten.</div><div><br></div><div>Regards,</div><div>Alexander</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Mar 3, 2026 at 12:49 PM BASSAGET Cédric <<a href="mailto:cedric.bassaget.ml@gmail.com">cedric.bassaget.ml@gmail.com</a>> wrote:<br></div><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"><div>Hello,</div><div><br></div><div>I'm trying to simplify my old bird 1.6 config, the aim is migrating to v2 then v3.</div><div><br></div><div><br></div><div>I have a config like :</div><div><br></div><div>template bgp private_peering_ipv4 {<br> local as my_ans;<br> path metric 2;<br> ipv4 {<br> import all;<br> import filter {<br> if (net.len > 24 ) then reject;</div><div> bgp_large_community.add((my_asn, 1, 1003));<br> accept;<br> };<br> export filter export_my_routes_ipv4;<br> import keep filtered;<br> };<br>}</div><div><br></div><div>protocol bgp PEER_v4_peer1 from private_peering_ipv4 {</div><div> router id 195.42.145.x;</div><div> neighbor 195.42.144.104 as 6939;</div><div>}</div><div>protocol bgp PEER_v4_peer2 from private_peering_ipv4 {</div><div><div> router id 195.42.145.x;</div><div> neighbor 195.42.144.104 as 6939;</div><div> ipv4 {</div><div> import filter {</div><div> bgp_large_community.add((my_asn, 1, 1009));</div><div> accept;</div><div> };</div><div> };</div><div>}</div><div><br></div><br></div><div><br></div><div>the problem here is that as soon as I define a new import filter for my second peer, the filter from the template is omitted.</div><div><br></div><div>Is there a way to add inheritance between the templates, or anything else that wouldn't overwrite the template filters ?</div><div><br></div><div>Regards,</div><div>Cédric</div><br></div>
</blockquote></div>