filter interface in protocol device

Alexei Gradinari alexgrad at compass-inc.net
Fri Feb 15 18:09:00 CET 2013


Hello Volodymir,

No. It doesn't work.... syntax error
See http://bird.network.cz/?get_doc&f=bird-6.html#ss6.2
There is only 2 options: scan and primary

Regards,
Alexei

Friday, February 15, 2013, 11:40:44 AM, you wrote:
> 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