Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Source RIB

Direct 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.

When to use this

Use it when a route that exists in a protocol's own database is not redistributed.

First 30 seconds

1. show ip route <prefix> on the redistributing router — installed from the source protocol?

2. Installed from another source → that source has a lower distance; decide which should own it.

3. Not installed at all → fix the source first.

4. Right VRF?

5. Then check the route-map and target.

Operational verification

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

Evidence · next step

Troubleshoot the source protocol/RIB before changing redistribution policy.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Scope / prerequisiteUse it when a route that exists in a protocol's own database is not redistributed.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Redistributing routes that are not in the RIB from the source protocol.
  • Forgetting connected networks need separate redistribution.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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.
ReferenceWhat it is1 section · depth on demand

What it is

Ordinary redistribution starts from routes present in the local source routing table/context. A protocol may know a candidate internally without that candidate being the installed route that the redistribution statement expects.

ReferenceWhy it matters1 section · depth on demand

Overview

Redistribution copies routes from one source — another routing protocol, static routes or connected networks — into a routing protocol so they are advertised to its neighbours. It is how networks running different protocols, or how the internet edge and the internal network, exchange reachability. Only routes the router has actually installed from the source are redistributed, and filtering decides exactly which ones.

Redistribution takes routes from a source routing protocol's RIB entries (or connected/static) and injects them into another protocol. Only routes that are actually in the routing table via the source protocol (plus its connected networks) are redistributed.

router ospf 1
 redistribute static subnets route-map STATIC-TO-OSPF
 redistribute bgp 65000 subnets route-map BGP-TO-OSPF
show ip ospf database external

Always filter with route-maps: redistributing a full BGP table into an IGP can overwhelm routers.

ReferenceImportant terms & boundaries3 sections · depth on demand

Key points

  • Verify the exact prefix/mask and route source
  • A source protocol database is not automatically the same as the RIB
  • VRF/global contexts must match the redistribution design
  • Route ownership matters when the same prefix can be learned from multiple sources.

In depth

The source of redistributed routes

Redistribution takes routes from a source and injects them into a target protocol. What's taken depends on the source: in IOS, redistribute pulls the source protocol's routes that are installed in the routing table, plus the connected networks that protocol runs on. Cisco's IOS XE routing guide shows sources ranging from static routes into EIGRP to BGP into OSPF (where the redistributing router becomes an ASBR).

Typical sources

Source keywordWhat's taken
connectedConnected subnets (C routes)
staticStatic routes in the RIB
ospf <pid>OSPF routes in the RIB (match internal, external, NSSA as needed)
eigrp <as>EIGRP routes from that AS
bgp <asn>BGP routes in the RIB (eBGP by default; iBGP only with an explicit option)

The RIB requirement

A route that lost the administrative-distance contest isn't in the RIB as that protocol's route, so it isn't redistributed from that protocol.

R1# show ip route 10.90.0.0
Routing entry for 10.90.0.0/16
  Known via "static", distance 1, metric 0
  Redistributing via ospf 1
  Advertised by ospf 1 subnets route-map STATIC-TO-OSPF
R1# show ip protocols | section ospf
  Redistributing External Routes from,
    static, includes subnets in redistribution
R1(config)# router ospf 1
R1(config-router)# redistribute eigrp 100 subnets route-map EIGRP-TO-OSPF

Redistributing via and Advertised by confirm the RIB entry is being picked up.

Selecting from the source

FilterExample
Prefix list in a route mapOnly branch prefixes
match route-typeOnly internal or only external routes
match tagExclude routes that came from the target originally
distribute-listFilter, but can't set metrics (routing guide)

Static routes without redistribution (routing guide)

A static route pointing to an interface is advertised by RIP and EIGRP without redistribute static if the interface is inside their network statements; otherwise redistribution is needed.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

What gets redistributed

Only routes that the source protocol has installed in the routing table (plus its connected networks for interfaces in that protocol) are redistributed. A route learned by OSPF but beaten by a static route with lower AD is not redistributed from OSPF. Check with show ip route <prefix> that the source protocol owns the route.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Routing → Route Redistribution → Source RIB. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
redistribution source route
Confirmation

Confirm action

Continue?