I have a question regarding the Down Bit. All the documentation I see concentrates on the redistribution of the MP-BGP into OSPF but I want to know more about the OSPF redistribution into MP-BGP. I think the rule is different for Type3 and Type5 LSAs.
Lets say the CE redistributes a RIP route into OSPF, creating an LSA Type 5 route sent to the PE router - with the Down Bit set.
Will this PE router redistribute this route into MP-BGP?
I know that LSA Type 3 summary routes will not be redistributed into MP-BGP if the Down Bit is set but I am wondering about external OSPF routes with the Down Bit set????
I am assuming that redistribution of RIP into OSPF at the CE does infact set this Down Bit before passing on to the PE router?
Down bit concept is used in MPLS when ospf route redistribute in MP-BGP and PE sets the downbit for stopping loop. I think CE annot set the downbit.
For type 5 LSAa, IOS uses the route tag to control routing loops between BGP and OSPF. Routes are tagged as they are redistributed from BGP to OSPF and the tag is checked when redistributing OSPF back into BGP.
This behavior is described by RFC 4577, section 184.108.40.206.
So in your case,the RIPs route should be redistributed into BGP.
BTW, redistribution of RIP into OSPF will not set the down bit.
Thanks for the reply:
I think this link provided some wrong info...
check out under the heading OSPF Route Tag or VPN Route Tag
This is wrong isn't it???
How can step 2 in the sequence description say that PE2-AS1 receives an OSPF route with the Down Bit already set? This comes from the CE.
I find this all very confusing when I check out these sequences - I thought only the PE router assigns Down Bit to LSA Type 3 routes?
All the other references I see show how PE1-AS1 would normally set the Down Bit as it is redistributed back into OSPF?
Thanks for your help - I feel I am getting closer. It is just this second step that is throwing me!
In IOS implementation, the down bit is never set on type 5 LSAs, only for type 3 LSAs.
As I have said only PE router add the downbit. But when PE1-AS1 forwards the route to CE1-A by removing downbit and CE1-A will forward the route to PE3-AS1. Now PE3-AS1 will advertise the route to PE1-AS1 & PE2-AS1. Both PE1-AS1 & PE2-AS1 should reject the route because they are already having the route bit down bit set.
I think this document is just stating that a routing loop would take place if the VPN route tag was not implemented. It is true though that the down bit is not being used for type 5 LSA.
I have one query if CE is giving E2 routes then a loop can be occured becuase PE router cannot mark downbit to it. I think this is what the author wants to say.
The loop would be prevented using the VPN route tag. It doesn't matter if the route is E1 or E2.
If the same is there then there is no requirement of downbit. It would be helpful if you can put more light on to it or simply provide any link.
The down bit is used for the summary LSA (type 3) as route tag is only available for external LSAs.