Routing

 View Only
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.  question for metric in RIP

    Posted 05-16-2022 05:24
    I have a RIP router with two uplinks to R4 and R5. Both R4 and R5 have the same prefixes exported from ISIS to RIP.
    I have the following on R5
    root@R5# show | display set | match isis2RIP
    set protocols rip group To-RIP export isis2RIP
    set policy-options policy-statement isis2RIP term 1 from protocol isis
    set policy-options policy-statement isis2RIP term 1 then metric 5
    set policy-options policy-statement isis2RIP term 1 then tag 1234
    set policy-options policy-statement isis2RIP term 1 then accept
    ​

    I expect to see RIP router selects R4 as a preferred path, but RIP router still selects R5.

    root@RIP-R# run show route protocol rip detail 192.168.15.0/24
    
    inet.0: 38 destinations, 38 routes (38 active, 0 holddown, 0 hidden)
    192.168.15.0/24 (1 entry, 1 announced)
            *RIP    Preference: 100
                    Next hop type: Router, Next hop index: 565
                    Address: 0x940db4c
                    Next-hop reference count: 28
                    Next hop: 172.30.0.57 via ge-0/0/7.204, selected
                    Session Id: 0x1
                    State: <Active Int>
                    Age: 3:19       Metric: 6
                    Validation State: unverified
                            Tag: 1234
                    Task: RIPv2
                    Announcement bits (2): 0-KRT 2-RIPv2
                    AS path: I
                    Route learned from 172.30.0.57 expires in 171 seconds
    
    

    If I use metric-in or metric-out, it works as expected.
    What did I miss ?

    The above policy configuration is provided in Juniper Training materials.

    thanks !!



  • 2.  RE: question for metric in RIP

    Posted 05-20-2022 05:53
    I guess it might be timing. I have to be patient to wait until it switches to different path based on the metric update.



  • 3.  RE: question for metric in RIP

    Posted 06-07-2022 09:53
    It might have to do with the RIP timers, do your configuration changes and wait for some time before taking any actions.

    Regards,

    Elvin