SRX

Expand all | Collapse all

Route-Selection -> Metrics or Preferences ?

Jump to Best Answer
  • 1.  Route-Selection -> Metrics or Preferences ?

    Posted 03-17-2015 01:22

    Hi everybody,

     

    just a little question on how to use route-selection correct.

    Here is, how I use it.

    In this example I have pp0.0 as standard-Uplink, and pp0.1 when the standard-Uplink fails.

     

    Here is my config:

     

        static {
            route 0.0.0.0/0 {
                next-hop pp0.0;
                qualified-next-hop pp0.1 {
                    preference 7;
                }
                metric 0;
                preference 5;
            }
    }

     

    Is my useage of metric and preferences correct ?

    Just for information. When the pp0.0 interface goes down, the traffic goes over the pp0.1.

    I have tested it and it works perfectly.

    I just want to know if the combined usage of metrics and prefernce could lead to problems ?

     

    Thanks a lot.

    Best regards, Christoph.



  • 2.  RE: Route-Selection -> Metrics or Preferences ?
    Best Answer

     
    Posted 03-17-2015 01:50

    Hi Christoph,

     

    Your configuration is looking good. The metric/preference you have specified for pp0.0 route is the default values for any static route, so you can get this working even without specifying them.

     

    Thanks,

    Suraj

    Please Mark My Solution Accepted if it Helped, Kudos are Appreciated too



  • 3.  RE: Route-Selection -> Metrics or Preferences ?

    Posted 03-17-2015 07:46

    Thank you very much for your fast reply.

     

    Best regards, Christoph