Filter being ignored.

Steve (Telsat Broadband) steve at telsatbb.vu
Fri Feb 28 06:42:10 CET 2014


Perfect!  

 

Thank you.

 

Cheers.

Steve.

 

 

 

From: John Jensen [mailto:jensenja at gmail.com] 
Sent: Friday, 28 February 2014 4:32 PM
To: Steve (Telsat Broadband)
Cc: bird-users at 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+ <http://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 at telsatbb.vu <mailto:steve at 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+ <http://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:

 

O     192.168.38.0/24 <http://192.168.38.0/24>  

           [110/1001] via xxx.xxx.xxx.xxx, 00:00:05, GigabitEthernet0/1

O     192.168.39.0/24 <http://192.168.39.0/24>  

           [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.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20140228/37acb52f/attachment-0001.html>


More information about the Bird-users mailing list