Redistribution Direction
Cheat sheet · https://pcornel.dk/topic.php?topic=2611
Answer
Redistribution has a direction: the command sits under the receiving (target) process and names the source — router ospf 1 / redistribute eigrp 100 moves EIGRP routes into OSPF. Each direction is configured separately.
Remember
Read it as "into this process, from that one". One-way redistribution plus a default route back is simpler and safer than two-way. Each direction needs its own metric and filter.
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
redistribute connected [route-map <name>]- Import eligible connected routes into the current target routing process.
redistribute static [route-map <name>]- Import eligible static routes into the current target routing process.
redistribute ospf <process-id> [route-map <name>]- Import eligible OSPF routes into the current target routing process.
redistribute eigrp <asn> [route-map <name>]- Import eligible EIGRP routes into the current target routing process.
redistribute bgp <asn> [route-map <name>]- Import eligible BGP routes into the current target routing process.
show ip route 10.20.0.0
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
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2611