Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Seed Metric

Direct answer

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.

When to use this

Use it when redistributed routes do not appear, or are preferred wrongly.

First 30 seconds

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.

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
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 commanddefault-metric <bandwidth> <delay> <reliability> <load> <mtu>
Scope / prerequisiteUse it when redistributed routes do not appear, or are preferred wrongly.
Reference · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

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: 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.
Command lookup Jump straight to Cisco syntax
Key points

EIGRP gives routes from another routing protocol an infinite metric unless a metric is set, so they are not advertised. OSPF uses 20 (type E2) by default; E2 keeps the same metric everywhere, E1 adds internal cost. BGP uses the source's metric as MED.

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

Default seed metrics

IntoDefaultNote
OSPF20 (E2), BGP routes 1Type E2 by default
EIGRPInfinite (not installed)Set default-metric or metric on redistribute
RIPInfinite (0 hops = unreachable)Set metric
BGPIGP metric → MEDOrigin 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 intoDefaultPractical effect
OSPFCost 20, type E2 (BGP-learned routes: 1)Works without a metric; E2 cost does not grow inside the domain
EIGRPInfinite (unreachable)Nothing is advertised until a metric is set — except connected, static and other EIGRP AS routes, which carry a usable metric
RIPInfinite (16)Same as EIGRP for dynamic sources
BGPMED = IGP metric of the source routeMED 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-metric under the routing process sets one value for all redistribute lines without their own metric.
  • 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand
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 → 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%
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
seed metricdefault metric redistribution
Embedded reference data

Quick lookup tables

Redistribution metric models

The target protocol owns the external metric semantics

TargetPractical Cisco IOS / IOS XE consideration
OSPFv2external metric/type is OSPF-specific; classless prefixes commonly require subnets in classic redistribution syntax
EIGRP classicredistributed non-EIGRP routes commonly require a seed metric (bandwidth, delay, reliability, load, MTU)
BGPredistributed routes enter BGP policy/best-path processing; redistribution commonly yields ORIGIN incomplete
Confirmation

Confirm action

Continue?