02-15-2010 08:13 AM - edited 03-04-2019 07:30 AM
Hi There,
Can anyone please help me? When i redistribute connected into ospf and specify a route map and then i redistribute routes using RIP, what happens is the routes filtered earlier using route map don't get advertised into OSPF even though they are in RIP database.
Thanks in advance
Shahzad.
02-16-2010 06:06 AM
Hi Shahzad,
Sorry if I miss understood your requirement.
Once the routes get redistributed into OSPF, it will appear as external type routes; there is no difference get redistribute from RIP or from connected. You can configure different metric-type or tag to differentiate those routes.
As I already mentioned when you have redistribute connected, it will overwrite the default behavior of redistributing from routing protocol 1 to routing protocol 2.
HTH,
Lei Tian
02-16-2010 04:40 AM
Hi Shahzad,
If you want redistribute RIP into OSPF with metric type 2 and tag the routes with 20; redistribute interface s0/1 into OSPF with metri tryp 2 and tag it with 10; you can configure your route-map as follow
route-map con-2-ospf permit 10
match interface FastEthernet0/0
set tag 20
route-map con-2-ospf permit 20
match interface Serial0/1
set tag 10
Within your OSPF, change it to
redistribute connected subnets route-map con-2-ospf
redistribute rip subnets tag 20
That should satisfy all your requirements.
HTH,
Lei Tian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide