Hello,
I corrected the metric as the same value both on two routers. But the backup path has no change.
As below is my OSPF configuration and the attachment will show more information.
Thanks a lot.
> show configuration protocols ospf
traffic-engineering;
export EXPORT-TO-OSPF;
area 0.0.0.0 {
interface lo0.0;
interface xe-1/3/2.1 {
interface-type p2p;
link-protection;
metric 5;
bfd-liveness-detection {
minimum-interval 100;
}
}
interface gr-2/3/0.2 {
interface-type p2p;
metric 20;
bfd-liveness-detection {
minimum-interval 100;
}
}
interface gr-1/1/0.3 {
interface-type p2p;
metric 100;
bfd-liveness-detection {
minimum-interval 100;
}
}
interface xe-1/2/2.1 {
interface-type p2p;
link-protection;
metric 5;
bfd-liveness-detection {
minimum-interval 100;
}
}
}