The redistribution of both static routes and BGP routes into OSPFv3 is configured on device1. The redistribution of connected routes into OSPFv3 is configured on device2, and the connected routes to be redistributed are specified.
device# configure terminal
device(config)# ipv6 router ospf
device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute static
device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute bgp
device# configure terminal
device(config)# ipv6 router ospf
device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute connected route-map rmap1
The following example redistributes static and BGP routes routes into OSPFv3 on a device.
device# configure terminal device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute static device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute bgp
The following example redistributes connected routes into OSPFv3 on a device and specifies a route map.
device# configure terminal device(config)# ipv6 router ospf device(config-ipv6-router-ospf-vrf-default-vrf)# redistribute connected route-map rmap1