1.4 Troubleshoot redistribution between routing protocols and other route sources

ENARSI 300-410 v1.1 · 1.0 Layer 3 Technologies

Redistribution copies routes from one source (connected, static, another protocol) into a routing protocol. Each protocol needs a seed metric for routes it did not compute, and each has its own defaults and traps: OSPF needs subnets in classic IOS, EIGRP and RIP need a metric, and BGP only takes what is in the RIB.

What you must know

Seed metrics by target protocol

IntoCommandDefault seed metricShows as
OSPFredistribute eigrp 100 subnets20 (1 for BGP routes), type E2O E2 / O E1
EIGRPredistribute ospf 1 metric 1000000 10 255 1 1500Infinite: nothing is sent (except connected/static)D EX
RIPredistribute ospf 1 metric 3Infinite (16)R
BGPredistribute ospf 1 match internal externalIGP metric becomes MED; origin incomplete (?)B

EIGRP's five values are bandwidth (kbit/s), delay (tens of µs), reliability, load and MTU. default-metric under the process sets the same for every redistributed source. Connected and static routes need no seed metric when redistributed into EIGRP; they take the interface's metric.

A two-domain example

router eigrp 100
 redistribute ospf 1 metric 1000000 10 255 1 1500
!
router ospf 1
 redistribute eigrp 100 subnets metric-type 1

PC1 reaches SRV3 (1) only when both directions are in place; with one direction the packet arrives and the reply has no route back.

R3# show ip route ospf
      10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O E1     10.1.1.0/24 [110/21] via 10.0.23.2, 00:01:12, GigabitEthernet0/0
O E1     10.0.12.0/30 [110/21] via 10.0.23.2, 00:01:12, GigabitEthernet0/0

R1# show ip route eigrp
      172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D EX     172.16.3.0/24 [170/3072] via 10.0.12.2, 00:01:40, GigabitEthernet0/0

What gets redistributed

Commands

show ip route <protocol>Imported routes with their codes (O E1/E2, D EX).
show ip protocolsWhat each process redistributes and its default metric.
show ip ospf database externalType 5 LSAs, their metric type and forward address.
show ip eigrp topology <prefix>External data: origin protocol, router, metric and tag.

Exam traps

Check yourself

Default seed metric for EIGRP routes into OSPF?
20, type E2 (1 for BGP routes).
Why is an O E1 route preferred over an O E2 route with the same metric?
OSPF prefers E1 over E2 by type, before comparing metrics.
You redistribute OSPF into EIGRP and nothing appears. First check?
The seed metric: metric … or default-metric under EIGRP.
Which BGP routes are redistributed into OSPF by default?
eBGP-learned routes only; iBGP routes need bgp redistribute-internal.

Labs

Try it live: Redistribution between EIGRP and OSPF: seed metrics, subnets and a route map

More topics in 1.0 Layer 3 Technologies