Use it to read redistribution configuration correctly and check that each direction you need exists.
Redistribution Direction
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.
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
- Configuring
redistributeunder the source instead of the target protocol. - Forgetting
subnetsin 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.
Operational reference
Fast context before you go deeper.
redistribute connected [route-map <name>]Primary Commands
Configuration and operational commands for this Topic.
redistribute connected [route-map <name>]ReferenceImport eligible connected routes into the current target routing process.
Use when: Import eligible connected routes into the current target routing process.
Quick note: Redistribution is a policy boundary. Exact syntax and defaults vary by target protocol and IOS / IOS XE release.
Cisco IOS / IOS XE · mixedredistribute static [route-map <name>]ReferenceImport eligible static routes into the current target routing process.
Use when: Import eligible static routes into the current target routing process.
Quick note: Redistribution is a policy boundary. Exact syntax and defaults vary by target protocol and IOS / IOS XE release.
Cisco IOS / IOS XE · mixedredistribute ospf <process-id> [route-map <name>]ReferenceImport eligible OSPF routes into the current target routing process.
Use when: Import eligible OSPF routes into the current target routing process.
Quick note: Redistribution is a policy boundary. Exact syntax and defaults vary by target protocol and IOS / IOS XE release.
Cisco IOS / IOS XE · mixedredistribute eigrp <asn> [route-map <name>]ReferenceImport eligible EIGRP routes into the current target routing process.
Use when: Import eligible EIGRP routes into the current target routing process.
Quick note: Redistribution is a policy boundary. Exact syntax and defaults vary by target protocol and IOS / IOS XE release.
Cisco IOS / IOS XE · mixedredistribute bgp <asn> [route-map <name>]ReferenceImport eligible BGP routes into the current target routing process.
Use when: Import eligible BGP routes into the current target routing process.
Quick note: Redistribution is a policy boundary. Exact syntax and defaults vary by target protocol and IOS / IOS XE release.
Cisco IOS / IOS XE · mixedRead 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.
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
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
| Included | Not included |
|---|---|
| Routes in the RIB whose source is the named protocol | Prefixes 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 runs | Connected interfaces not enabled for the source protocol (use redistribute connected) |
With subnets (OSPF): non-classful subnets | Without 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.
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
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.