07-05-2019 12:52 AM - edited 07-05-2019 12:52 AM
Does OSPF redistributes only intra area routes as default behaviour(using default redistribute ospf command).Is this happens only in ospf to bgp redistribution? If so how to redistribute other types of routes. What is the command used to redistribute all routes.
Solved! Go to Solution.
07-05-2019 01:30 AM
Hello,
by default, if you configure the redistribution of OSPF into BGP without keywords, only OSPF intra-area and inter-area routes are redistributed into BGP, by default. In order to redistribute ALL routes from OSPF into BGP, you need to configure:
redistribute ospf 1 match internal external 1 external 2
Check the link below for reference:
Understanding Redistribution of OSPF Routes into BGP
07-05-2019 01:43 AM - edited 07-05-2019 01:52 AM
yes, true in ospf to bgp redistribution, use redistribute ospf 1 match internal external 1 external 2
also see
In IPv4, if you redistribute a protocol, by default you also redistribute the subnet on the interfaces over which the protocol is running. In IPv6 this is not the default behavior. To redistribute the subnet on the interfaces over which the protocol is running in IPv6, use the include-connected keyword. In IPv6 this functionality is not supported when the source protocol is BGP.
07-05-2019 01:30 AM
Hello,
by default, if you configure the redistribution of OSPF into BGP without keywords, only OSPF intra-area and inter-area routes are redistributed into BGP, by default. In order to redistribute ALL routes from OSPF into BGP, you need to configure:
redistribute ospf 1 match internal external 1 external 2
Check the link below for reference:
Understanding Redistribution of OSPF Routes into BGP
07-05-2019 02:11 AM
Thanks for your reply.
Is this also happens in case of OSPF to EIGRP redistribution and redistribution among different ospf processes... Do I need to use keywords like external, internal etc in case of OSPF to EIGRP redistribution
07-05-2019 02:51 AM
No, when redistributing OSPF into EIGRP, all you need is a metric, either a default metric or one associated with the redistribution. So either:
router eigrp 1
redistribute ospf 1 metric 10000 100 255 1 1500
or
router eigrp 1
redistribute ospf 1
default-metric 10000 100 255 1 1500
07-05-2019 01:43 AM - edited 07-05-2019 01:52 AM
yes, true in ospf to bgp redistribution, use redistribute ospf 1 match internal external 1 external 2
also see
In IPv4, if you redistribute a protocol, by default you also redistribute the subnet on the interfaces over which the protocol is running. In IPv6 this is not the default behavior. To redistribute the subnet on the interfaces over which the protocol is running in IPv6, use the include-connected keyword. In IPv6 this functionality is not supported when the source protocol is BGP.
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