From: Daniel Beynon (dbeynon@xxxxxxxxxxx)
Date: Thu Jul 20 2000 - 11:15:26 GMT-3
Walid,
I would tag the routes from RIP-OSPF using the TAG command on the
redistribtion command line and then use a route-map on the OSPF-RIP
to deny the routes with the TAG set above. This should work for your
situation.
Hope this answers your question,
Dan
>From: Walid Fahme <aub95@emirates.net.ae>
>Reply-To: Walid Fahme <aub95@emirates.net.ae>
>To: "ccielab@groupstudy.com" <ccielab@groupstudy.com>
>Subject: Route-Maps & Tags
>Date: Thu, 20 Jul 2000 09:22:27 +0400
>
>What is the best way to filter mutual redistributions other that route-maps
>with addresses or distribute-lists ?
>
>I have been trying to use Route-maps with Tags when doing Mutual
>redistribution between two routing protocols, in a way that, I tag
>the redistribed routes from OSPF to RIP with 111, and RIP to OSPFwith 222,
>so that when I redistribute at another router, I use route-map to filter
>the 111 from RIP to OSPF and filter 222 from OSPF to RIP.
>
>I configured as follows, and it never worked: (when I list the route-maps
># of matches = 0)
>
>router ospf 1
>redistribute rip subnets route-map rip-to-ospf
>!
>router rip
>redistribute ospf 1 route-map ospf-to-rip
>!
>route map ospf-to-rip deny 10
>match tag 222
>route map ospf-to-rip permit 20
>set tag 111
>!
>route map rip-to-ospf deny 10
>match tag 111
>route map rip-to-ospf permit 20
>set tag 222
>
>
>I assume when there is no match statement => match all
> when there is no set statement => just permit don't set
>anything
>
>Can anyone advise please. Is there any limitation to these route-maps
> with tags & why is tagging possible with the redistribute command
>under an ospf router, but not available with the same command under RIP
>EIGRP and IGRP.
>
>Thanks
>Walid.
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:56 GMT-3