Juniper Route Preference Value

  • by

The Junos OS routing protocol process assigns a default preference value (also known as an administrative distance) to each route that the routing table receives. The default value depends on the source of the route. Ranks routes received from different sources primary criterion for selecting the active route used as a tiebreaker when the same destination prefix is available through multiple sources.

Route Preference Values

Lower Value make more preference
Here we can see the preference value of Static route is 5
And BGP preference value is 170. OSPF internel 10.
Lowest preference value route are * mark that mean best route.

source@router# run show route

inet.0: 52 destinations, 54 routes (52 active, 0 holddown, 1 hidden)
+ = Active Route, – = Last Active, * = Both               *[Static/5] 1w1d 17:04:59
                               > to via ge-0/1/0.0
                           [BGP/170] 1w1d 17:04:50, MED 0, localpref 100
                               AS path: 65544 I
                                > to via ge-0/0/2.1102          *[Static/5] 00:10:24
> to via ge-0/0/10.0
[OSPF/10] 00:03:38, metric 2
> to via ge-0/0/13.0   *[Direct/0] 1w1d 17:04:59
                               > via ge-0/0/0.0   *[Local/0] 1w1d 17:04:59

                                Local via ge-0/0/0.0

Leave a Reply