Junos OS

last person joined: 3 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Static route preference

    Posted 08-11-2015 21:06

    hello guys, how to set a preference on static route:

     

    set routing-options static route 10.2.2.0/24 next-hop 10.1.1.254

     

    do i just need to add the word preference like:

     

    set routing-options static route 10.2.2.0/24 next-hop 10.1.1.254 preference 30

     

    static route command: http://kb.juniper.net/InfoCenter/index?page=content&id=KB16572

     

     

    Thank you for any input.

     



  • 2.  RE: Static route preference
    Best Answer

     
    Posted 08-11-2015 21:08

    Hello ,

     

    Your understanding is correct ,  thats the correct configuration to put a preference value for static route in Junos .

     

     



  • 3.  RE: Static route preference

    Posted 08-11-2015 23:35

    Thanks again. Cheers!!!