-Original Message-
From: Jan Maria Matejka
Sent: Friday, April 27, 2018 8:41 PM
To: Arvin Gan ; bird-users@network.cz
Subject: Re: BGP filter
On 04/25/2018 03:26 PM, Jan Maria Matejka wrote:
> [...]
>
> On 04/25/2018 12:38 PM, Arvin Gan wrote:
>> Thanks, I will try.
>
&
On 04/25/2018 03:26 PM, Jan Maria Matejka wrote:
> [...]
>
> On 04/25/2018 12:38 PM, Arvin Gan wrote:
>> Thanks, I will try.
>
> We found out that it may coredump on reconfiguration as instruction
> comparison happens
> there and the format() instruction has no comparator. Please look into your
To: Arvin Gan ; bird-users@network.cz
Subject: Re: BGP filter
[...]
On 04/25/2018 12:38 PM, Arvin Gan wrote:
> Thanks, I will try.
We found out that it may coredump on reconfiguration as instruction comparison
happens there and the format() instruction has no comparator. Please look into
yo
[...]
On 04/25/2018 12:38 PM, Arvin Gan wrote:
> Thanks, I will try.
We found out that it may coredump on reconfiguration as instruction comparison
happens
there and the format() instruction has no comparator. Please look into your
log, there
should be something like >>Bug: Unknown instruction<
Thanks, I will try.
-Original Message-
From: Bird-users On Behalf Of Jan Maria Matejka
Sent: Wednesday, April 25, 2018 6:31 PM
To: bird-users@network.cz
Subject: Re: BGP filter
>> 2. config-file:
>>
>> filter filter_bgp1{
>>
>>
Of Jan Maria Matejka
Sent: Wednesday, April 25, 2018 6:19 PM
To: bird-users@network.cz
Subject: Re: BGP filter
Hi!
> 1. bird>show route filter {if format(net) = "0.0.0.0/0" then accept;}
> //correct result
>
> /* show route filter {if net = "0.0.0.0/0"
>> 2. config-file:
>>
>> filter filter_bgp1{
>>
>> if format(net) = "0.0.0.0/0" then accept; // “format(net)
>> = …” , bird coredump ???
>>
>> /* if net = "0.0.0.0/0" then accept; // “ net= …” , not
>> bird coredump*/
>>
>> }
Hi!
> 1. bird>show route filter {if format(net) = "0.0.0.0/0" then accept;}
> //correct result
>
> /* show route filter {if net = "0.0.0.0/0" then accept;} // incorrect result
> */
compare net = 0.0.0.0/0 – the "0.0.0.0/0" is a string literal, the 0.0.0.0/0 is
a prefix literal.
> 2.
Hi All,
I am implementing a function that send default route to BGP peer, and I am
facing an issue about BGP filter, when I use "show route filter" in birdc, the
filter result is correct; when I add this filter to config-file and start bird,
the bird will occur coredump issue. D