ABR sets E-bit (and B-bit) in router LSA

Kenth Eriksson Kenth.Eriksson at infinera.com
Fri Jan 27 17:03:14 CET 2023


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.zajicek at nic.cz>
Sent: Friday, January 27, 2023 16:32
To: Kenth Eriksson <Kenth.Eriksson at infinera.com>
Cc: bird-users at network.cz <bird-users at 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: santiago at 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."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230127/debed7cb/attachment.htm>


More information about the Bird-users mailing list