filter interface in protocol device

Volodymir Samodid admin at ovid.org.ua
Fri Feb 15 17:40:44 CET 2013


On 02/15/2013 06:16 PM, Alexei Gradinari wrote:
> Hello,
>
> How can I filter scanning interfaces in protocol device?
>
> I'd like to have something like this
> protocol device {
>      scan time 10;
>      interface "eth*";
> }
>
> I need it because my server acts as PPPoE concentrator and BGP router.
> I don't want bird to scan ppp* interfaces.
>
> Regards,
> Alexei
>
is this it ?
<>
An interface matches the pattern if it matches any of its clauses. If 
the clause begins with -, matching interfaces are excluded. Patterns are 
parsed left-to-right, thus interface "eth0", -"eth*", "*"; means eth0 
and all non-ethernets.
<>
http://bird.network.cz/?get_doc&f=bird-3.html#dsc-iface



More information about the Bird-users mailing list