Use it when redistributed routes do not appear, or are preferred wrongly.
Seed Metric
The seed metric is the starting metric a redistributed route gets in the target protocol, because metrics of different protocols cannot be converted. It is set with metric on the redistribute line, default-metric, or set metric in a route-map.
1. Is the route present in the target protocol? EIGRP: missing often means no metric.
2. show ip eigrp topology <prefix> / show ip ospf database external <prefix> — metric as intended?
3. Set it with metric … on the redistribute line or set metric in the route-map.
4. OSPF: choose E1 if internal cost should count.
5. Check on a remote router.
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
Operational reference
Fast context before you go deeper.
default-metric <bandwidth> <delay> <reliability> <load> <mtu>Primary Commands
Configuration and operational commands for this Topic.
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 First 30 seconds Verify boundary
Immediate answer: Verify the destination protocol receives a usable metric for the redistributed route before diagnosing downstream path selection.
Verification chain: source RIB → redistribution eligibility → seed/default metric → destination protocol database → RIB preference → forwarding
Stop condition: A route eligible for redistribution can still fail to enter the destination protocol when required metric semantics are missing or invalid.
Step 2 Common mistakes Narrow the fault
- No seed metric in EIGRP/RIP, so nothing is advertised.
- Very low seed metrics making external routes preferred.
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
Default seed metrics
| Into | Default | Note |
|---|---|---|
| OSPF | 20 (E2), BGP routes 1 | Type E2 by default |
| EIGRP | Infinite (not installed) | Set default-metric or metric on redistribute |
| RIP | Infinite (0 hops = unreachable) | Set metric |
| BGP | IGP metric → MED | Origin incomplete (?) |
Example: redistribute static metric 10000 100 255 1 1500 for EIGRP (bandwidth, delay, reliability, load, MTU).
ReferenceWhy it matters1 section · depth on demand
How it works
When routes are redistributed into a protocol, they need a starting metric in that protocol: the seed metric. OSPF uses 20 (type E2) by default (1 for BGP-learned routes), EIGRP and RIP use infinity, so redistributed routes are not advertised unless a metric is set. Set it with default-metric or the metric keyword.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Default seed metrics on Cisco IOS/IOS XE
| Redistributed into | Default | Practical effect |
|---|---|---|
| OSPF | Cost 20, type E2 (BGP-learned routes: 1) | Works without a metric; E2 cost does not grow inside the domain |
| EIGRP | Infinite (unreachable) | Nothing is advertised until a metric is set — except connected, static and other EIGRP AS routes, which carry a usable metric |
| RIP | Infinite (16) | Same as EIGRP for dynamic sources |
| BGP | MED = IGP metric of the source route | MED leaks internal metrics unless reset |
Worked EIGRP classic metric
redistribute ospf 1 metric 10000 100 255 1 1500 = bandwidth 10 000 kbit/s, delay 100 (tens of microseconds), reliability 255, load 1, MTU 1500. With default K values:
metric = 256 × (10^7 / 10000 + 100)
= 256 × (1000 + 100)
= 281 600
A neighbor then adds its own link: lowest bandwidth on the path and cumulative delay. Named mode uses wide (64-bit) metrics, so the numbers in show ip eigrp topology are larger and not directly comparable with classic mode.
Choosing the value
- Pick a seed that makes external paths worse than internal ones, so a route redistributed back into its origin never wins.
default-metricunder the routing process sets one value for allredistributelines without their ownmetric.- OSPF E1 adds the internal cost to the seed and is better when several ASBRs inject the same prefix; E2 keeps the seed and breaks ties on the forwarding metric (cost to the ASBR).
Verify
show ip eigrp topology 10.20.0.0/24 (External data: originating router, protocol, external metric) and show ip ospf database external 10.20.0.0 (Metric Type and Metric) show the seed that was actually applied.
ReferenceConfiguration & state1 section · depth on demand
Configuration
router eigrp 100
redistribute ospf 1 metric 10000 100 255 1 1500
router ospf 1
redistribute eigrp 100 subnets metric 50 metric-type 1
Documented example, not captured output.
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 → Seed Metric. 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
Redistribution metric models
The target protocol owns the external metric semantics
| Target | Practical Cisco IOS / IOS XE consideration |
|---|---|
| OSPFv2 | external metric/type is OSPF-specific; classless prefixes commonly require subnets in classic redistribution syntax |
| EIGRP classic | redistributed non-EIGRP routes commonly require a seed metric (bandwidth, delay, reliability, load, MTU) |
| BGP | redistributed routes enter BGP policy/best-path processing; redistribution commonly yields ORIGIN incomplete |