device# configure terminal
device(config)# router bgp
device(config-bgp-router)# peer-group ipv6prefix-over-ipv4peer
Note
When the IPv6 address family is already activated under a peer-group and the command peer-group ipv6prefix-over-ipv4peer is executed, the Neighbor NLRI Negotiation capabilities are modified from IPv4 Unicast Routes to IPv4 and IPv6 Unicast Routes. This will reset the existing BGP IPv4 connections, those that are mapped to a peer-group and have IPv6 address family enabled.
This reset also happens when IPv6 Address Family is already activated under a peer-group, and CLI peer-group ipv6prefix-over-ipv4peer is being disabled.
device(config-bgp-router)# neighbor mypeergroup1 peer-group
device(config-bgp-router)# neighbor mypeergroup1 remote-as 11
device(config-bgp-router)# neighbor 192.168.10.125 peer-group mypeergroup1
This example shows the neighbor command, the IPv4 address of the neighbor, the peer-group keyword, and the name of the peer group (mypeergroup1).
device(config-bgp-router)# neighbor 2001:2018:8192::125 peer-group mypeergroup1
This example shows the neighbor command, the IPv6 address of the neighbor, the peer-group keyword, and the name of the peer group (mypeergroup1).
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor mypeergroup1 activate
The following example summarizes the commands in this procedure
device# configure terminal device(config)# router bgp device(config-bgp-router)# peer-group ipv6prefix-over-ipv4peer device(config-bgp-router)# neighbor mypeergroup1 peer-group device(config-bgp-router)# neighbor mypeergroup1 remote-as 11 device(config-bgp-router)# neighbor 192.168.10.125 peer-group mypeergroup1 device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# neighbor mypeergroup1 activate