BGP: Difference between revisions

691 bytes removed ,  5 years ago
Line 123:
 
 
*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
Configured on Per-Neighbor basis.
 
* 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).
Configured for the whole BGP process on the router.
 
 
 
* Weight vs Med vs Local Preference:
 
|------[R2]--------[R4]
[R1] |
|------[R3]--------[R5]
 
Weight R1 to R2 or R3:
|------>
 
Local Preference R2 to R1 or R3 to R1:
<------|
 
MED R4 to R2 or R5 to R3:
|--------->
 
=Filter with Route Maps=