06-17-2013 09:42 PM - edited 03-07-2019 01:56 PM
When the OSPF process is associated with the VRF, several checks are performed when link-state advertisements (LSAs) are received. PE checks are needed to prevent loops when the PE is performing a mutual redistribution between OSPF and Border Gateway Protocol (BGP) interfaces.
Can smb clarify how TYPE-3 LSA can be created due to "mutual redistribution between OSPF and BGP"? Previously i have thought that only type 5 and type 7 LSAs can be created during redistribution, so i were a bit surprised when found these information.
Solved! Go to Solution.
06-18-2013 03:51 AM
Hello Alexey,
>> Can smb clarify how TYPE-3 LSA can be created due to "mutual redistribution between OSPF and BGP"? Previously i have thought that only type 5 and type 7 LSAs can be created during redistribution, so i were a bit surprised when found these information.
When using OSPF as PE-CE routing protocol some handy features are available. The SP network in its control plane uses MP BGP.
MP BGP has been extended in order to carry OSPF routes attributes within special extended BGP communities, by doing so the remote PE node can rebuild OSPF data structures and depending if some conditions are met OSPF LSA type 3 are built and sent to remote CE node ( co-located to remote PE node).
Because the extended communities used carry some information in order to rebuild OSPF data structures, one of this condition in order the routes seen as LSA type 3 is the use of the exact same OSPF process-id on the the two PE nodes.
Actually, when using sham-links intra area routes can be re-built at remote PE.
Hope to help
Giuseppe
06-17-2013 10:27 PM
Hi,
this is something special when a MPLS VPN interconnects sites wich use OSPF as IGP.
You normally don't want OSPF routes from site A to be injected as external Routes in site B and vice versa, which would be normal behavior when redistributing into BGP or any other routing protocol. You would also loose the infomation about the LSA types.
That's why MPLS/MP-BGP acts as an OSPF "superbackbone" (google it!) and the other site's routes will be injected as LSA type 3 in such a case.
Hope that helps
Rolf
06-17-2013 10:45 PM
Btw: There is an "ask the expert" for OSPF in the "other nw infra subjects" section, a great oportunity for everybody who's interested in OSPF!
Sent from Cisco Technical Support Android App
06-18-2013 03:51 AM
Hello Alexey,
>> Can smb clarify how TYPE-3 LSA can be created due to "mutual redistribution between OSPF and BGP"? Previously i have thought that only type 5 and type 7 LSAs can be created during redistribution, so i were a bit surprised when found these information.
When using OSPF as PE-CE routing protocol some handy features are available. The SP network in its control plane uses MP BGP.
MP BGP has been extended in order to carry OSPF routes attributes within special extended BGP communities, by doing so the remote PE node can rebuild OSPF data structures and depending if some conditions are met OSPF LSA type 3 are built and sent to remote CE node ( co-located to remote PE node).
Because the extended communities used carry some information in order to rebuild OSPF data structures, one of this condition in order the routes seen as LSA type 3 is the use of the exact same OSPF process-id on the the two PE nodes.
Actually, when using sham-links intra area routes can be re-built at remote PE.
Hope to help
Giuseppe
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