Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Route-map Policy

Direct answer

A route-map on a redistribute line decides which routes are redistributed and can set their metric, metric type and tag. Sequences are checked in order; the first match decides, and anything not matched is not redistributed.

When to use this

Use it to control exactly which routes cross between protocols.

First 30 seconds

1. show route-map <name> — sequences, match clauses and match counts.

2. Route missing → which sequence should permit it? Does its match (prefix-list, tag) cover it?

3. show ip prefix-list <name> — exact lengths, ge and le.

4. Unwanted route redistributed → an earlier permit or a sequence without match.

5. Clear and re-check counters after a change.

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

Verify the prefix/tag match object and route-map order.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
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.

PlatformProtocol standard · Cisco IOS / IOS XE · Cisco IOS XE
Key commandroute-map <name> permit <sequence>
Scope / prerequisiteUse it to control exactly which routes cross between protocols.
Show · 1Reference · 1
What next?3 suggested next steps
Catalog command links2
Evidence1
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

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

2 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 First 30 seconds Verify boundary

Immediate answer: Trace one source route through the redistribution route-map sequence, matches, sets and destination protocol database.

Verification chain: source RIB → redistribution statement → route-map sequence → match/set → destination protocol → destination RIB/FIB

Stop condition: A route-map existing in configuration does not show the redistribution statement references it or that the route matched a permit sequence.

Step 2 Common mistakes Narrow the fault
  • Route-map with no final permit, filtering everything else.
  • Matching with ACL when prefix-lists were intended.
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

A route-map with only deny sequences redistributes nothing — the implicit end is deny. A sequence with no match matches everything. show route-map counts matches per sequence, which shows where each route ended up.

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

How it works

A route-map on the redistribute command selects which routes are redistributed and can set metric, metric type and tag. Entries are processed in sequence; a route that matches no permit entry is not redistributed (implicit deny).

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

How the route-map is evaluated during redistribution

RuleConsequence
Sequences are checked in ascending order; first match decidesA broad permit 10 makes later sequences unreachable
Several match lines in one sequence are ANDmatch ip address prefix-list A + match tag 5 requires both
Several values on one match line are ORmatch tag 5 6 matches either tag
A sequence with no match matches everythingTypical final permit 100 catch-all
No match at allImplicit deny — the route is not redistributed
deny sequence that matchesRoute is dropped; set lines are irrelevant

Worked policy — permit LANs, set type and tag, drop the rest

ip prefix-list LAN seq 5 permit 10.10.0.0/16 le 24
ip prefix-list MGMT seq 5 permit 10.99.0.0/16 le 32
!
route-map EIGRP-TO-OSPF deny 10
 match ip address prefix-list MGMT
route-map EIGRP-TO-OSPF permit 20
 match ip address prefix-list LAN
 set metric-type type-1
 set tag 90
!
router ospf 1
 redistribute eigrp 100 subnets route-map EIGRP-TO-OSPF

Prefix lists match prefix and length; le 24 means "any length from /16 up to /24". An ACL in a redistribution route-map only matches the network address, so 10.10.0.0/16 and 10.10.0.0/24 are indistinguishable — one reason to prefer prefix lists.

Verify the result, not the configuration

1. show ip ospf database external on the redistributing router — which LSAs exist and with which metric type and tag.

2. On another OSPF router: show ip route ospf | include E1 — only the intended prefixes.

3. Change one input route and confirm the external LSA appears or ages out as expected.

Route-map hit counters are not a reliable proof for redistribution; the LSDB and RIB are.

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

Route-map example

ip prefix-list LAN permit 10.10.0.0/16 le 24
route-map EIGRP-TO-OSPF permit 10
 match ip address prefix-list LAN
 set metric 100
 set metric-type type-1
 set tag 100
route-map EIGRP-TO-OSPF deny 20
router ospf 1
 redistribute eigrp 100 route-map EIGRP-TO-OSPF

Documented example, not captured output. Unmatched routes hit the implicit deny at the end of a route-map.

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 docProtocol standard + deployed implementation RFC 2475

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

Basis: https://www.rfc-editor.org/rfc/rfc2475.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 route mapredistribution policy
Confirmation

Confirm action

Continue?