Route Redistribution
Cheat sheet · https://pcornel.dk/topic.php?topic=2609
Answer
Redistribution copies routes from one source — static, connected, another routing protocol — into a routing protocol, so its neighbours learn them. It is configured on the receiving protocol: redistribute <source> under the target process.
Remember
Only routes that are in the routing table from the source are redistributed. Each target protocol needs a usable seed metric: EIGRP advertises routes from another protocol only with a metric set; OSPF defaults to 20 as type E2. Always filter with a route-map, and tag routes when two points redistribute in both directions.
First checks
show ip protocols— what each process redistributes, and with which route-map.show route-map <name>— sequences and how many routes or packets each matched.show ip route <prefix>— the route, its source, distance, metric and tag.show ip ospf database external <prefix>— OSPF external LSA: metric type, metric, tag.show ip eigrp topology <prefix>— EIGRP external data: origin protocol, metric, tag.
Commands
show ip protocols- Display active routing protocol parameters.
show ip route <prefix>- Source RIB
show route-map- Policy
Verify in this order
route installed from the source → redistribute configured on the target process → route-map permits it → seed metric set → external route advertised → neighbours install it → tag prevents it from being fed back
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Route Redistribution · operational reference
| Redistribution boundary | Required proof |
|---|---|
| Source | Intended route exists in source/local RIB |
| Policy | Prefix matches import policy and is not denied |
| Metric/type | Receiving protocol has usable semantics |
| Downstream | Redistributed route is learned/installed as intended |
| Feedback | Tags/filtering prevent re-import where required |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2609