Pcornel
Networking · Routing › Route Redistribution

Seed Metric

Cheat sheet · https://pcornel.dk/topic.php?topic=2612

Back to the Topic

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.

Remember

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.

First 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.

Commands

default-metric <bandwidth> <delay> <reliability> <load> <mtu>
Set a classic EIGRP default seed metric for redistributed routes.
show ip eigrp topology
show ip eigrp topology 10.20.0.0/24
show ip ospf database external 10.20.0.0

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Redistribution metric models

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2612

Confirmation

Confirm action

Continue?