This filters the RIB (routing table), not the OSPF decision process. By the time you apply this OSPF has already chosen the intra area route over the inter area one, so all you can do is permit or deny the intra area one.
The only way to really accomplish this is to make the two route types equal. If you were to change the inter area route to intra area with something like a virtual link or tunnel then you can modify which path is preferred.
Brian McGahan, CCIE #8593 (R&S/SP/Security)
bmcgahan_at_INE.com
Internetwork Expert, Inc.
http://www.INE.com
On Jan 7, 2013, at 6:59 AM, "ccie99999" <ccie99999_at_gmail.com> wrote:
> according to doc cd I could filter with distribute-list using route-map
> using this parameters
>
> That is, the route map could be based on the following match options:
>
> - match interface
> - match ip address
> - match ip next-hop
> - match ip route-source
> - match metric
> - match route-type
> - match tag
>
>
> http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_ospf/configuration/12-4t/iro-inbound.html
>
> I did also a match ip interface and I loose the route from both sides
>
> route-map TEST deny 10
> match ip address prefix-list PREFIX
> match interface FastEthernet0/0.67
> route-map TEST permit 20
>
> I'm very confused.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Mon Jan 07 2013 - 12:08:23 ART
This archive was generated by hypermail 2.2.0 : Sun Feb 03 2013 - 16:27:17 ART