Training, Certification, and Career Topics
Highlighted
Training, Certification, and Career Topics

routing values :preference and metric

‎01-26-2017 06:46 PM

Hi All,

What is the different between modified preference and metric? And which one more preferable? Please have a look at the attached picture, Why is traffic forwarded to 192.168.200.1 to access the destionation network -10.10.10.0/24?

 

Thanks

Attachments

2 REPLIES 2
Training, Certification, and Career Topics
Solution
Accepted by topic author Erdal
‎01-27-2017 04:56 PM

Re: routing values :preference and metric

‎01-26-2017 07:08 PM

Hi,

 

Qualified next-hops are used, when you want to configure mulitple possible next-hop addresses for a particular static route and have them treated differently. Qualified next hops allow you to associate one or more properties with a particular next-hop address. You can set an overall preference for a particular static route and then specify a different preference for the qualified next hop.

 

In your example, for the nexthop 192.168.100.1, it is using default preference and metric of 10. However for the qualified-next-hop 192.168.200.1, the preference is set to 6. So when it comes to next-hop selection for this static route 10.10.10.0/24, it will check first the preference value and if it is same, metric will decide which nexthop will be selected.

 

For more details, you can refer to following links:

https://www.juniper.net/documentation/en_US/junos15.1/topics/concept/routing-protocol-static-securit...

 

https://www.juniper.net/documentation/en_US/junos15.1/topics/example/routing-protocol-static-securit...

 

Hope this helps,

 

Thanks

 

----------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
----------------------------------------------------------------------------------------------------

Hope this helps

--------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
--------------------------------------------------------------------------------------------------------
Highlighted
Training, Certification, and Career Topics

Re: routing values :preference and metric

‎01-26-2017 09:45 PM

[KUDOS PLEASE! If you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]