Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Redistribution Direction

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

When to use this

Use it to read redistribution configuration correctly and check that each direction you need exists.

First 30 seconds

1. show ip protocols — under each process, which sources are redistributed into it?

2. Map the directions you need against what is configured.

3. Missing direction → add it, with metric and route-map.

4. Unneeded direction → remove it, or replace with a default route.

5. Verify routes on both sides.

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

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Direction mistakes
  • Configuring redistribute under the source instead of the target protocol.
  • Forgetting subnets in OSPF on older IOS (only classful networks redistributed).
  • Missing seed metric for EIGRP/RIP → routes not advertised.
  • Redistributing in both directions at two points without filtering → loops.
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
Key commandredistribute connected [route-map <name>]
Scope / prerequisiteUse it to read redistribution configuration correctly and check that each direction you need exists.
Reference · 5
What next?2 suggested next steps
Catalog command links5
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Command lookup Jump straight to Cisco syntax
Key points

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.

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

Reading redistribution

router ospf 1
 redistribute eigrp 100 subnets route-map EIGRP-TO-OSPF

Documented example, not captured output. This takes routes from EIGRP into OSPF. Only routes the source protocol has in the routing table (and its connected networks) are redistributed. Two-way redistribution at several points needs tags and route-maps to avoid loops and suboptimal paths.

ReferenceImportant terms & boundaries3 sections · depth on demand

Key points

  • router ospf ... + redistribute eigrp ... means EIGRP → OSPF
  • router eigrp ... + redistribute ospf ... means OSPF → EIGRP
  • The same prefix can behave differently in each direction
  • Redistribution is local control-plane injection, not automatic two-way exchange.

In depth

The direction rule

The redistribute command is entered under the receiving protocol and names the source:

router ospf 1
 redistribute eigrp 100 subnets     ! EIGRP 100 → OSPF 1
router eigrp 100
 redistribute ospf 1 metric 10000 100 255 1 1500   ! OSPF 1 → EIGRP 100

Only the first block = one-way redistribution. Both blocks on the same router = mutual redistribution at one point; on two routers = mutual redistribution at two points, which needs loop prevention.

What exactly gets redistributed

IncludedNot included
Routes in the RIB whose source is the named protocolPrefixes present in the source protocol's database but installed in the RIB from another protocol with lower AD
Connected networks of interfaces on which the source protocol runsConnected interfaces not enabled for the source protocol (use redistribute connected)
With subnets (OSPF): non-classful subnetsWithout subnets on older releases: only classful networks

The second row is the common surprise: a prefix known by both EIGRP and a static route is installed as static, so redistribute eigrp does not carry it. Check with show ip route 10.20.0.0 — the "Known via" line names the protocol that will be redistributed. On many recent IOS XE releases subnets is added automatically; confirm in show running-config | section router ospf.

Choosing a direction

  • One-way plus a default route back is the simplest design: the edge router injects external prefixes into the core IGP and advertises only default-information originate (or a summary) in the other direction.
  • Mutual redistribution is needed when both domains must know each other's specific prefixes, for example during a migration; plan tags and filters before enabling it.

Verify per direction

Pick one prefix from each domain and confirm it appears as external in the other: show ip route ospf | include E2 and show ip route eigrp | include EX.

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

Quick reference

Whether redistribution happens in one direction or both, and at one point or several, decides how risky it is. One-way redistribution at a single point is simple and safe. Two-way redistribution at multiple points can feed routes back into the protocol they came from, which causes loops and suboptimal paths. Tagging routes as they cross the boundary and refusing tagged routes on the way back is the standard protection.

Redistribution direction matters: one-way (e.g. static → OSPF at the edge) is safe; two-way between protocols at multiple points risks loops and suboptimal routing.

Tag routes when they enter a protocol and deny tagged routes when redistributing back:

route-map OSPF-TO-EIGRP deny 10
 match tag 100
route-map OSPF-TO-EIGRP permit 20
 set tag 200
route-map EIGRP-TO-OSPF deny 10
 match tag 200
route-map EIGRP-TO-OSPF permit 20
 set tag 100
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 → Redistribution Direction. 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 directionsource target protocol
Confirmation

Confirm action

Continue?