Info about eBGP/iBGP
Maria Matejka
maria.matejka at nic.cz
Thu Sep 19 21:08:34 CEST 2024
Hello Grzegorz,
On Thu, Sep 19, 2024 at 06:11:18PM +0000, Ponikierski, Grzegorz via Bird-users wrote:
> According to my knowledge letter “i” in “[AS201701i]” means “IGP”. “e” is for “EGP” and “?” is for “INCOMPLETE”. This is for BGP origin code.
>
> Other method to check eBGP vs iBGP is to check which protocol learned
> given route and then verify configuration of protocol or do `show
> protocol all` to figure out if it was eBGP or iBGP session. It works
> but it is indirect method which requires extra steps. It would be
> useful and timesaving that `show route` shows this information
> directly. Is it problem with proper “print” function for “show route”
> or Bird just don’t keep such info together with route due to
> performance issues or memory saving?
BIRD doesn't keep this information with the route as it can be derived
from the protocol importing it.
Please note that it is the user who specifies which session is eBGP or
iBGP, and thus you can include this fact directly in the protocol name
to reflect this difference.
Also, after introducing our new API (not yet existing), this can be done
easily in the client just by loading both the protocol and route dump
and combining them to get you anything you want.
Happy Routing!
Maria
--
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240919/66490c2c/attachment.htm>
More information about the Bird-users
mailing list