Perfect!
Thank you.
Cheers.
Steve.
From: John Jensen [mailto:jensenja@gmail.com]
Sent: Friday, 28 February 2014 4:32 PM
To: Steve (Telsat Broadband)
Cc: bird-users@network.cz
Subject: Re: Filter being ignored.
I think you want to use ~ instead of =:
protocol ospf {
import all;
export filter {
ospf_metric1 = 1000;
if ( net ~ [ 192.168.0.0/16+ ] ) then reject;
if ( source = RTS_STATIC ) then accept; else reject;
};
On Fri, Feb 28, 2014 at 12:21 AM, Steve (Telsat Broadband) <steve@telsatbb.vu> wrote:
Hi All,
I’ve configured the following ‘export’ filter in my OSPF protocol:
protocol ospf {
import all;
export filter {
ospf_metric1 = 1000;
if ( net = [ 192.168.0.0/16+ ] ) then reject;
if ( source = RTS_STATIC ) then accept; else reject;
};
Yet on my router, I’m still seeing the route coming in via OSPF:
[110/1001] via xxx.xxx.xxx.xxx, 00:00:05, GigabitEthernet0/1
[110/1001] via xxx.xxx.xxx.xxx, 00:00:05, GigabitEthernet0/1
Is there something I’m missing? How can I get these network’s excluded?
Cheers.
Steve.