Use it when two routing domains must fully exchange routes and more than one router connects them.
Mutual Redistribution
Mutual redistribution sends routes in both directions between two protocols, often at two or more routers. Without control, routes can be redistributed back into the domain they came from, causing suboptimal paths or loops.
1. Pick one prefix; follow it from its origin through each redistribution point.
2. At each point: tag set? Opposite direction denies the tag?
3. show ip route <prefix> on the redistributing routers — owned by the original protocol, or by the re-entered copy?
4. Re-entered copy wins → raise its distance, or filter by tag.
5. Flapping routes → loop; stop it with tags first.
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
Trace one prefix, assign ownership/tag policy and verify return redistribution rejects it.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Mutual redistribution problems Narrow the fault
- Routing loops or suboptimal paths when routes re-enter their original domain.
- External routes preferred over internal ones because of AD (e.g. EIGRP external 170 vs OSPF 110).
- Route feedback causing flapping.
Use tags or prefix filters at every redistribution point, adjust AD for external routes (distance ospf external), and keep redistribution points few.
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.
Tag every route as it enters a domain and deny that tag when redistributing out. Compare administrative distances: a route coming back as an external may beat the original. Consider redistributing in one direction only and sending a default route the other way.
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
Mutual redistribution imports routes in both directions between routing domains. Without deterministic ownership and filtering, a route can return through the other protocol with a different AD/metric and create feedback or suboptimal paths.
ReferenceImportant terms & boundaries3 sections · depth on demand
Key points
- Two-way redistribution is not automatically symmetric or safe
- Multiple redistribution points increase feedback/route-ownership risk
- Different AD and metric systems can make a returned external route unexpectedly attractive
- Tagging/filtering and a clear primary owner for each prefix are stronger than relying on defaults.
In depth
Mutual redistribution
Mutual redistribution means two protocols redistribute into each other, usually during migrations or between organisations. Cisco's IOS XE routing guide shows examples (EIGRP and RIP, EIGRP and BGP, OSPF and RIP) and uses default-metric with outbound filtering to limit what's advertised, warning that metrics don't translate between protocols and that careless redistribution creates loops.
What goes wrong without controls
| Problem | Mechanism |
|---|---|
| Routing loops | A route redistributed into B at router X comes back into A at router Y |
| Suboptimal paths | A route returns as external with a better administrative distance |
| Route flapping | Feedback between redistribution points |
Two-point mutual redistribution with tags
R1(config)# route-map EIGRP-TO-OSPF deny 10
R1(config-route-map)# match tag 110
R1(config)# route-map EIGRP-TO-OSPF permit 20
R1(config-route-map)# set tag 90
R1(config)# route-map OSPF-TO-EIGRP deny 10
R1(config-route-map)# match tag 90
R1(config)# route-map OSPF-TO-EIGRP permit 20
R1(config-route-map)# set tag 110
R1(config)# router ospf 1
R1(config-router)# redistribute eigrp 100 subnets route-map EIGRP-TO-OSPF
R1(config)# router eigrp 100
R1(config-router)# redistribute ospf 1 metric 10000 100 255 1 1500 route-map OSPF-TO-EIGRP
R1# show ip eigrp topology 10.20.0.0/24 | include tag|External
The same route maps go on R2. Routes leaving EIGRP get tag 90 and are never sent back into EIGRP; routes leaving OSPF get tag 110 and are never sent back into OSPF.
Control options
| Tool | Use |
|---|---|
| Route tags | Mark origin; deny on the way back |
| Prefix lists | Allow only the prefixes each side owns |
| Administrative distance | Make external routes less preferred than native ones |
| Single redistribution point | Simplest, at the cost of redundancy |
Verification
Compare routing tables before and after, trace paths from both sides, and watch for routes whose origin keeps changing between protocols.
Documented example, not captured output.
Quick reference
Mutual redistribution at more than one router is one of the classic sources of routing loops. A route travels from protocol A into protocol B at one router, then back into protocol A at another router, where it may look better than the original because of administrative distance or metrics. The section explains the mitigations and how to verify that routes still come from their original source.
Mutual redistribution between two protocols at two or more points can create routing loops: a route learned from protocol A is redistributed into B at router 1, then back into A at router 2 with a better AD/metric.
Mitigations: route tags with deny filters (as above), adjusting AD for external routes (distance ospf external 200), redistributing only specific prefixes, and preferring a single redistribution point with redundancy designed elsewhere. Verify with show ip route <prefix> on both boundary routers — the source should be the original protocol.
ReferenceConfiguration & state1 section · depth on demand
Tag-based loop prevention
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
Documented example, not captured output. Apply each route-map on the matching redistribute command on every border router.
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 → Mutual Redistribution. 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.
Quick lookup tables
Mutual redistribution safeguards
Prevent feedback and ambiguous ownership
| Control | Purpose |
|---|---|
| Explicit prefix allow-list | Only intended routes cross the boundary |
| Route tag on import | Marks the redistribution origin/boundary |
| Reject tag on return path | Prevents feed-back into the source domain |
| Document prefix owner | Avoids competing external copies becoming authoritative |
| Verify at every boundary | Confirms metric/type/AD and policy outcome |