To configure multi-protocol BGP for exchanging IPv6 prefixes over IPv4 BGP Sessions for a BGP neighbor using an user defined VRF, do the following:
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# address-family ipv4 unicast vrf red device(config-bgp-ipv4u-vrf)#
device(config-bgp-ipv4u-vrf)# neighbor 192.0.2.10 remote-as 1001
device(config-bgp-ipv4u-vrf)# exit device(config-bgp-router)#
device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)#
device(config-bgp-ipv6u-vrf)# neighbor 192.0.2.10 activate
The following is a consolidation of tasks to perform to activate IPv6 address family for a BGP peer using user defined VRF.
router bgp local-as 1000 address-family ipv4 unicast vrf red neighbor 192.0.2.10 remote-as 1001 address-family ipv6 unicast vrf red neighbor 192.0.2.10 activate