Route Redistribution
Problem
You want to redistribute IPv6 routes between routing protocols.
Solution
First, we will show an example of redistributing from OSPF into RIPv6:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 router ripRouter1(config-rtr)#RIP_PROCredistribute ospf1metricRouter1(config-rtr)#5exitRouter1(config)#endRouter1#
And here is an example showing redistribution of RIPv6 into OSPF:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 router ospfRouter1(config-rtr)#1redistribute ripRouter1(config-rtr)#RIP_PROCexitRouter1(config)#endRouter1#
You can advertise a default route with OSPF by using the default-information originate command:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 router ospfRouter1(config-rtr)#1default-information originate alwaysRouter1(config-rtr)#exitRouter1(config)#endRouter1#
Discussion
Both of these examples show a minimal configuration for redistributing from one routing protocol into another. In a moment we will show some more sophisticated examples, but these examples show the basic requirements. In the first example, we redistribute OSPF routes into RIP:
Router1(config)#ipv6 router ripRouter1(config-rtr)#RIP_PROCredistribute ospf1metric5
Note that, in this example, we have somewhat arbitrarily set a default metric for RIP to use for all of these redistributed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access