cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1480
Views
15
Helpful
4
Replies

OSPF multi area Redistribution

ABINTHOMAS6431
Spotlight
Spotlight

 

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. 

2 Accepted Solutions

Accepted Solutions

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

 

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html?dtid=pseggl000183&ccid=cc000890&gclid=CjwKCAjw6vvoBRBtEiwAZq-T1SILPDg2Z1vkZKQJ501MZ5U7mw3PDLdTqakyH11C7m0YNejuMd4WoxoC0mgQAvD_BwE&gclsrc=aw.ds

View solution in original post

Martin L
VIP
VIP

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.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipv6/command/ipv6-cr-book/ipv6-m1.html#wp3977203519

View solution in original post

4 Replies 4

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

 

https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/5242-bgp-ospf-redis.html?dtid=pseggl000183&ccid=cc000890&gclid=CjwKCAjw6vvoBRBtEiwAZq-T1SILPDg2Z1vkZKQJ501MZ5U7mw3PDLdTqakyH11C7m0YNejuMd4WoxoC0mgQAvD_BwE&gclsrc=aw.ds

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

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

Martin L
VIP
VIP

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.

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipv6/command/ipv6-cr-book/ipv6-m1.html#wp3977203519