Quantcast
Channel: All Routing posts
Viewing all articles
Browse latest Browse all 8688

How to modify LDP/OSPF metric on physical interface and GRE

$
0
0

Hi All

 

My router MX240 connect to another MX240 via submarine cable and 2 GRE over two upstream provider.

 

 

The information as follow is routing table . xe-1/3/2.1 is 10G of submarine cable , and gr-1/1/0.3 is GRE over upstream provider(ISP1).

But I have another GRE over upstream provider(ISP2) , it's interface is gr-2/3/0.2.

 

My question is how to let gr-2/3/0.2 have higher priority than gr-1/1/0.3 both on protocol LDP & OSPF ?

Althought I set gr-1/1/0.3 as higher metric on OSPF , but the backup path is still gr-1/1/0.3, not gr-2/3/0.2.

LDP seems have no way to controll.

 

192.168.145.2/32   *[LDP/9] 23:01:02, metric 10

                               > to 192.168.147.34 via xe-1/3/2.1, Push 313776

                                  via gr-1/1/0.3

                                [OSPF/10] 23:01:02, metric 10

                               > to 192.168.147.34 via xe-1/3/2.1

                                  via gr-1/1/0.3

 

>show configuration protocols ldp

track-igp-metric;

interface gr-1/1/0.3;

interface xe-1/2/2.1 {

    link-protection;

}

interface xe-1/3/2.1 {

    link-protection;

}

interface gr-2/3/0.2;

 

> show configuration protocols ospf

traffic-engineering;

area 0.0.0.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 25;

        bfd-liveness-detection {

            minimum-interval 100;

        }

    }

    interface gr-1/1/0.3 {

        interface-type p2p;

        metric 100;

        bfd-liveness-detection {

            minimum-interval 100;

        }

     }

}


Viewing all articles
Browse latest Browse all 8688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>