␡
- Configuration Example 1: Redistributing Classful Routes into OSPF with the Default Type and Metric
- Configuration Example 2: Redistributing Classful Routes into OSPF with the Default Type and Specific Metric
- Configuration Example 3: Redistributing Classful Routes into OSPF as Type 1 Routes Using a Specific Metric
- Configuration Example 4: Redistributing Subnet Routes into OSPF as Type 1 Routes Using a Specific Metric
- Configuration Example 5: Redistributing Subnet Routes into OSPF as Type 1 Routes Using a Specific Metric and Route Tag
- Configuration Example 6: Controlling the Routes to Be Redistributed Based on IP Address
- Configuration Example 7: Modifying the Metric of Redistributed Routes Using a Route Map
- Configuration Example 8: Modifying the Metric Type of Redistributed Routes Using a Route Map
- Configuration Example 9: Modifying the Tag Value of Redistributed Routes Using a Route Map
- Configuration Example 10: Controlling Route Redistribution Based on Tag Values
- Troubleshooting
This chapter is from the book
Configuration Example 2: Redistributing Classful Routes into OSPF with the Default Type and Specific Metric
In the first configuration example for Figure 14-1, the EIGRP routes were redistributed into OSPF with a default metric of 20. For this example, modify the configuration on Router B to change the metric of all the redistributed EIGRP routes to 66.
Router B router ospf 1 redistribute eigrp 1 metric 66
Verification
Verify that the new metric has been applied to the redistributed EIGRP routes. On Router A you can look at the IP routing table and on Router B you can inspect the OSPF database.
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 E2 205.5.5.0/24 [110/66] via 10.1.1.2, 00:00:16, Serial0/1 O E2 5.0.0.0/8 [110/66] via 10.1.1.2, 00:00:16, Serial0/1 O E2 145.5.0.0/16 [110/66] via 10.1.1.2, 00:00:16, Serial0/1 10.0.0.0/30 is subnetted, 1 subnets C 10.1.1.0 is directly connected, Serial0/1