<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
My export filter says reject, you are saying export filter keyword is enough to hit that business logic?</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
export filter {
<div class="ContentPasted0"> if (source = RTS_STATIC) then {</div>
<div class="ContentPasted0"> ospf_metric2=20;</div>
<div class="ContentPasted0"> reject;</div>
<div class="ContentPasted0"> }</div>
<div class="ContentPasted0"> if (net = 0.0.0.0/0) then {</div>
<div class="ContentPasted0"> ospf_metric1=1000;</div>
<div class="ContentPasted0"> reject;</div>
<div class="ContentPasted0"> }</div>
<div class="ContentPasted0"> reject;</div>
<div class="ContentPasted0"> };</div>
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Ondrej Zajicek <ondrej.zajicek@nic.cz><br>
<b>Sent:</b> Friday, January 27, 2023 16:32<br>
<b>To:</b> Kenth Eriksson <Kenth.Eriksson@infinera.com><br>
<b>Cc:</b> bird-users@network.cz <bird-users@network.cz><br>
<b>Subject:</b> Re: ABR sets E-bit (and B-bit) in router LSA</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.<br>
<br>
<br>
On Fri, Jan 27, 2023 at 02:18:36PM +0000, Kenth Eriksson wrote:<br>
> I have a setup as in the attached drawing. I can see that the bird ABR<br>
> node (R2) sets the E-bit and the B-bit in the router LSA. The B-bit seems<br>
> correct as it is the ABR, but it is not an ASBR.<br>
<br>
Hi<br>
<br>
It depends on config. if route export to OSPF is allowed, it is marked as<br>
ASBR, even if no route is currently exported. See ospf_proto_finish():<br>
<br>
/* Route export or NSSA translation (RFC 3101 3.1) */ |<br>
cf->asbr = (proto_cf_main_channel(this_proto)->out_filter != FILTER_REJECT) || (nssa && cf->abr);<br>
<br>
--<br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</div>
</span></font></div>
</body>
</html>