My export filter says reject, you are saying export filter keyword is enough to 
hit that business logic?

 export filter {
            if (source = RTS_STATIC) then {
                ospf_metric2=20;
                reject;
            }
            if (net = 0.0.0.0/0) then {
                ospf_metric1=1000;
                reject;
            }
            reject;
        };

________________________________
From: Ondrej Zajicek <ondrej.zaji...@nic.cz>
Sent: Friday, January 27, 2023 16:32
To: Kenth Eriksson <kenth.eriks...@infinera.com>
Cc: bird-users@network.cz <bird-users@network.cz>
Subject: Re: ABR sets E-bit (and B-bit) in router LSA

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.


On Fri, Jan 27, 2023 at 02:18:36PM +0000, Kenth Eriksson wrote:
> I have a setup as in the attached drawing. I can see that the bird ABR
> node (R2) sets the E-bit and the B-bit in the router LSA. The B-bit seems
> correct as it is the ABR, but it is not an ASBR.

Hi

It depends on config. if route export to OSPF is allowed, it is marked as
ASBR, even if no route is currently exported. See ospf_proto_finish():

  /* Route export or NSSA translation (RFC 3101 3.1) */                         
                                                                                
                           |
  cf->asbr = (proto_cf_main_channel(this_proto)->out_filter != FILTER_REJECT) 
|| (nssa && cf->abr);

--
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santi...@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

Reply via email to