<div dir="ltr">I think you want to use ~ instead of =:<div><br></div><div><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas">protocol ospf {<u></u><u></u></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas"> import all;<u></u><u></u></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">
<span style="font-family:Consolas"> export filter {<u></u><u></u></span></p><p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas"> ospf_metric1 = 1000;<u></u><u></u></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas"> if ( net ~ [ <a href="http://192.168.0.0/16+" target="_blank">192.168.0.0/16+</a> ] ) then reject;<u></u><u></u></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas"> if ( source = RTS_STATIC ) then accept; else reject;<u></u><u></u></span></p>
<p class="MsoNormal" style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-family:Consolas"> };</span></p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Feb 28, 2014 at 12:21 AM, Steve (Telsat Broadband) <span dir="ltr"><<a href="mailto:steve@telsatbb.vu" target="_blank">steve@telsatbb.vu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-AU" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hi All,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’ve configured the following ‘export’ filter in my OSPF protocol:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas">protocol ospf {<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"> import all;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"> export filter {<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"> ospf_metric1 = 1000;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"> if ( net = [ <a href="http://192.168.0.0/16+" target="_blank">192.168.0.0/16+</a> ] ) then reject;<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"> if ( source = RTS_STATIC ) then accept; else reject;<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-family:Consolas"> };<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:Consolas"><u></u> <u></u></span></p><p class="MsoNormal">Yet on my router, I’m still seeing the route coming in via OSPF:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">O <a href="http://192.168.38.0/24" target="_blank">192.168.38.0/24</a> <u></u><u></u></p><p class="MsoNormal"> [110/1001] via xxx.xxx.xxx.xxx, 00:00:05, GigabitEthernet0/1<u></u><u></u></p>
<p class="MsoNormal">O <a href="http://192.168.39.0/24" target="_blank">192.168.39.0/24</a> <u></u><u></u></p><p class="MsoNormal"> [110/1001] via xxx.xxx.xxx.xxx, 00:00:05, GigabitEthernet0/1<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there something I’m missing? How can I get these network’s excluded?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Cheers.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal">Steve.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div></blockquote></div><br></div>