Pcornel
Networking · Routing › Route Redistribution

Source RIB

Cheat sheet · https://pcornel.dk/topic.php?topic=2610

Back to the Topic

Answer

The source RIB is where redistribution reads from: a route is redistributed only if it is installed in the routing table from the source being redistributed — not if another source with a lower distance owns that prefix.

Remember

redistribute ospf 1 takes routes that are installed as OSPF routes, plus OSPF's connected interfaces. If the same prefix is installed from a static route or EIGRP instead, OSPF's copy is not redistributed. Check the VRF too.

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 route <prefix>

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=2610

Confirmation

Confirm action

Continue?