Hi
My scenario is I have two ABR in the one OSPF area and both ABR connected to one router (say Router A) in the same area through point to point link. I want that router A should use the ABR1 to reach the internal or external OSPF routes (type 2).
On router A, If I make the OSPF metric of link connected to ABR2 then all the OSPF internal routes have next hop ABR1 (which is my requirement) BUT external OSPF routes are of type 2 so again some external OSPF routes have next hope ABR2 as well.
Now I made one OSPF import policy on Router A so that increase the metric of external OSPF rotuers learned through ABR2 and make them less preferred.
policy-statement ospf-import {
term 1 {
from neighbor ABR2 IP;
then {
metric add 20;
accept;
}
}
}
But this policy is not increasing the metric of OSPF routes learned through ABR2. Can any body advise me what I am missing or is it a good approach to accomplish this?
Thanks