SOURCECODEBD.NET

Live Experience

Juniper Route Preference Value
 
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
 
0.0.0.0/0               *[Static/5] 1w1d 17:04:59
                               > to 172.16.202.1 via ge-0/1/0.0
                           [BGP/170] 1w1d 17:04:50, MED 0, localpref 100
                               AS path: 65544 I
                                > to 192.168.100.1 via ge-0/0/2.1102  
10.1.1.0/24          *[Static/5] 00:10:24
                              > to 172.29.30.253 via ge-0/0/10.0
                              [OSPF/10] 00:03:38, metric 2
                              > to 172.18.25.2 via ge-0/0/13.0                
172.16.10.4/30   *[Direct/0] 1w1d 17:04:59
                               > via ge-0/0/0.0
172.16.10.5/32   *[Local/0] 1w1d 17:04:59
                                Local via ge-0/0/0.0

 

You are here: Home / Firewall & Policy / Juniper Route Preference Value