BGP communities

Fabiano D'Agostino fabiano.dagostino96 at gmail.com
Sun Apr 5 23:08:19 CEST 2020


Good evening,
could someone explain me the meaning of these lines?

function bgp_out(int peeras)
{
if ! (source = RTS_BGP ) then return false;
if peeras > 65535 then return true; ### communities do not support AS32
if (0,peeras) ~ bgp_community then return false;
if (myas,peeras) ~ bgp_community then return true;
if (0, myas) ~ bgp_community then return false;
return true;
}

Thanks,

Fabiano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200405/6dfe8cf8/attachment.htm>


More information about the Bird-users mailing list