BGP: Difference between revisions

Content added Content deleted
Line 103: Line 103:
|AS Path Length || Smaller
|AS Path Length || Smaller
|-
|-
|Origin || Prefer Internal(advertised by network cmd - 'i') over External(advertised by redistribe cmd -'?')
|Origin || Prefer IGP(network cmd) > EGP > ?(reditributed)
|-
|-
|MED || Smaller
|MED || Smaller
Line 112: Line 112:
|}
|}
</center>
</center>


*Origin - Prefer Internal(advertised by network cmd - 'i') over External(advertised by redistribe cmd -'?')
*Weight is configured for Outgoing direction:
[R1]-------[R2]
|
|--------[R3]

If you want R1 to prefer R3, Configure more weight on R1

* Local Preference is configured in Incoming direction.
Configure Local Pref R3 so that R1 will prefer routes learned via R3.
Local Pref stays inside AS only(use MED if you want to affect AS also).


=Filter with Route Maps=
=Filter with Route Maps=