Configuration Example 4: Redistributing Subnet Routes into OSPF as Type 1 Routes Using a Specific Metric
The previous configuration examples redistributed only the classful EIGRP routes into OSPF. Modify the configuration on Router B to redistribute all the EIGRP routes.
Router B router ospf 1 redistribute eigrp 1 metric 66 metric-type 1 subnets
Verification
Verify that the classless EIGRP routes have been redistributed into OSPF on Router B by inspecting the IP routing table on Router A.
rtrA#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 O E1 205.5.5.0/24 [110/1628] via 10.1.1.2, 00:22:36, Serial0/1 206.6.6.0/28 is subnetted, 1 subnets O E1 206.6.6.0 [110/1628] via 10.1.1.2, 00:02:37, Serial0/1 O E1 5.0.0.0/8 [110/1628] via 10.1.1.2, 00:22:36, Serial0/1 6.0.0.0/12 is subnetted, 1 subnets O E1 6.0.0.0 [110/1628] via 10.1.1.2, 00:02:37, Serial0/1 O E1 145.5.0.0/16 [110/1628] via 10.1.1.2, 00:22:37, Serial0/1 10.0.0.0/30 is subnetted, 2 subnets C 10.1.1.0 is directly connected, Serial0/1 O E1 10.1.1.4 [110/1628] via 10.1.1.2, 00:02:40, Serial0/1 146.6.0.0/20 is subnetted, 1 subnets O E1 146.6.0.0 [110/1628] via 10.1.1.2, 00:02:40, Serial0/1