Routing

last person joined: 2 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Juniper mx and Cisco routers - problem with ospf metric

    Posted 12-25-2017 05:29

    Good day everyone.

    I`m trying to set up ospf in multivendor network - most of the routers are cisco and we are adding one juniper mx.

    My problem that juniper do not add anything to loopback while cisco adds cost of 10.

    So i want to change juniper behavior to cisco-like.

    Is there any chance to make it?

     

     

     

     



  • 2.  RE: Juniper mx and Cisco routers - problem with ospf metric

    Posted 12-25-2017 05:49
    You can configure below configuration.

    set protocols ospf area 0 interface lo0.0 metric 10

    HTH


  • 3.  RE: Juniper mx and Cisco routers - problem with ospf metric

    Posted 12-25-2017 07:10

    Already tried this. Not working 😞



  • 4.  RE: Juniper mx and Cisco routers - problem with ospf metric
    Best Answer

    Posted 12-25-2017 07:19

    It's working for me. Can you show your configuration?

    root@R1_re# show interfaces lo0
    unit 0 {
    family inet {
    address 172.16.0.33/32;
    }

    [edit]
    root@R1_re# show protocols ospf
    area 0.0.0.0 {
    interface ge-0/0/1.0 
    interface ge-0/0/2.0 
    interface lo0.0 {
    metric 10;
    }
    }

    [edit]
    root@R1_re#

     

    root@R2_re# run show route 172.16.0.33

    inet.0: 31 destinations, 46 routes (31 active, 0 holddown, 0 hidden)
    @ = Routing Use Only, # = Forwarding Use Only
    + = Active Route, - = Last Active, * = Both

    172.16.0.33/32 *[OSPF/10] 01:30:38, metric 11
    > to 10.0.0.12 via ge-0/0/1.0

     

     

    R1 and R2 are connected point to point



  • 5.  RE: Juniper mx and Cisco routers - problem with ospf metric

    Posted 12-25-2017 07:29

    My bad.

    Got lo0 interface passive by mistake.

    Thanks.