In the NMC Sample lab, R1 is an IPv6 border router between OSPF and BGP. It has a loopback interface on R1-Lo100, FEC0::1111:1/125, which is part of the BGP domain by virtue of:
address-family ipv6
neighbor FE80::3333:3333 activate
neighbor FE80::3333:3333 route-map NH-out out
network FEC0::1111:0/125
R1 forms its peer relationship with R3 as it should, and picks up prefixes from there, which it redistributes into OSPF:
R1#show run | sec ipv6 router ospf
ipv6 router ospf 1
router-id 172.16.10.1
log-adjacency-changes
area 13 virtual-link 172.16.130.1
redistribute bgp 100 metric 20 include-connected
But what about that include-connected? Shouldn’t that get our FEC0::1111:0/125 route into OSPF? Apparently not. I found it necessary to do a redistribute connected as well.
R1#show run | sec ipv6 router ospf
ipv6 router ospf 1
router-id 172.16.10.1
log-adjacency-changes
area 13 virtual-link 172.16.130.1
redistribute connected
redistribute bgp 100 metric 20 include-connected
Conclusion? When redistributing IPv6 BGP into OSPF, the include-connected keyword does not seem to work.
I had an issue going the other way too: OSPF–>BGP. It seems it is not enough just to redistribute:
address-family ipv6
neighbor FE80::3333:3333 activate
neighbor FE80::3333:3333 route-map NH-out out
network FEC0::1111:0/125
redistribute ospf 1 include-connected
no synchronization
exit-address-family
You need to specify what to redistribute:
address-family ipv6
neighbor FE80::3333:3333 activate
neighbor FE80::3333:3333 route-map NH-out out
network FEC0::1111:0/125
redistribute ospf 1 match internal external 1 external 2 include-connected
no synchronization
exit-address-family
I want to look these behaviors up in the Command Reference, but for some reason I cannot find the IPv6 Command Reference documents on the Cisco web site. I can find the Configuration Guide OK, but not the Command References. I wrote to their HelpLine about it.