Configuration Example: Route Redistribution for IPv6
Figure 4-4 shows the network topology for the configuration that follows, which demonstrates how to configure single point two-way basic redistribution between EIGRP and OSPF for IPv6, using the commands covered in this chapter. For this configuration example, assume that EIGRP and OSPF routing for IPv6 has been configured correctly on all four routers.
Figure 4-4 Network Topology for IPv6 Route Redistribution
MONTREAL(config)#ipv6 router eigrp 10 |
Enters IPv6 EIGRP configuration mode. |
MONTREAL(config-router)#redistribute ospf 1 metric 1500 10 255 1 1500 include-connected |
Redistributes IPv6 routes from OSPF process ID 1 into EIGRP autonomous system 10 and assigns a seed metric to these routes. |
NOTE: With the include-connected command, you instruct the target rout-ing protocol to redistribute the routes that are learned by the source protocol and also the connected interfaces if the source routing protocol is running on them. |
|
MONTREAL(config-router)#exit |
Returns to global configuration mode. |
MONTREAL(config)#ipv6 router ospf 1 |
Enters IPv6 OSPF configuration mode. |
MONTREAL(config-router)#redistribute eigrp 10 include-connected |
Redistributes IPv6 routes from EIGRP autonomous system 10 into OSPF process ID 1 as external type 2 (E2) with a metric of 20, which is fixed and does not change across the OSPF domain. |
MONTREAL(config-router)#redistribute eigrp 10 metric-type 1 include-connected |
Redistributes IPv6 routes from EIGRP autonomous system 10 into OSPF process ID 1 as external type 1 (E1). Type 1 external routes calculate the cost by adding the external cost (20) to the internal cost of each link that the packet crosses. |
NOTE: The subnets keyword does not exist in OSPFv3 redistribution configuration. |