How do BGP local preference and MED differ?
- Local-pref is higher-wins only for eBGP
- MED picks your exit; local-pref is sent out
- Both are compared before the AS path
- Local-pref picks your exit; MED hints entry
Local preference stays inside your AS and steers outbound traffic (higher wins). MED is sent to a neighbouring AS to suggest which link it should use to enter (lower wins).
Play Networking ▸