<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="SFNS Display">Привет,</font></p>
    <p><font face="SFNS Display">есть такой statement:</font></p>
    <p><tt>router ospf 1<br>
         redistribute connected metric-type 1 subnets route-map
        noTransportIntf<br>
      </tt><tt> redistribute static  metric-type 1 subnets route-map
        noTransportIntf<br>
        !<br>
        route-map noTransportIntf deny 5<br>
         match interface FastEthernet1/1 Loopback65530<br>
        !<br>
        route-map noTransportIntf permit 10</tt><tt><b><br>
        </b></tt><tt>!</tt><b><font face="SFNS Display"><br>
        </font></b></p>
    <p><font face="SFNS Display">так вот эта раут-мапа для connected
        prefixes работает, для static - нет:</font></p>
    <p><tt>#sh ip route connected<br>
        [ ... ]<br>
        C        9.9.10.0/24 is directly connected, FastEthernet1/0
        (permitted by route-map)<br>
        C        10.10.10.66/32 is directly connected, Loopback65530
        (denied by route-map)<br>
        C        192.168.254.0/24 is directly connected, FastEthernet1/1
        (denied by route-map)<br>
      </tt></p>
    <p><tt>#sh ip route static <br>
        [ ... ]<br>
        S        1.1.1.3 [254/0] via 192.168.254.1 (connected @ Fa1/1,
        denied by route-map)<br>
        S     212.109.32.0/24 [1/0] via 9.9.10.2 (connected @ Fa1/0,
        permitted by route-map)</tt><font face="SFNS Display"><br>
      </font></p>
    <font face="SFNS Display">При этом в OSPF database из connected
      routes присутствует только 9.9.10.0 (что и следовало получить), а
      из static - оба маршрута, хотя, по идее, должен быть только один
      (212.109.32.0/24)<br>
    </font>
    <p><tt>#sh ip ospf database</tt><tt><br>
      </tt><tt>[ ... ]<br>
      </tt><tt>        Type-5 AS External Link States</tt><tt><br>
      </tt><tt>Link ID         ADV Router      Age         Seq#      
        Checksum Tag</tt><tt><br>
      </tt><tt>1.1.1.3         1.1.1.20        400         0x80000001
        0x009172 0</tt><tt><br>
      </tt><tt>9.9.10.0        1.1.1.20        2017        0x80000002
        0x00816B 0</tt><tt><br>
      </tt><tt>212.109.32.0    1.1.1.20        400         0x80000001
        0x008225 0</tt></p>
    <p><font face="SFNS Display">Что я делаю не так?</font></p>
    <p><font face="SFNS Display">Спасибо!</font></p>
    <p><font face="SFNS Display"><br>
      </font></p>
    <pre class="moz-signature" cols="72">-- 
Volodymyr Litovka
  "Vision without Execution is Hallucination." -- Thomas Edison
</pre>
  </body>
</html>