Activate BGP peer group under the IPv6 unicast address family of the default VRF.
XCO automatically activates the BGP peer group under the IPv6 unicast address family of the default VRF when you create a BGP peer group. The BGP peer group remains activated till the BGP peer group remains instantiated.

Note
An upgrade to XCO 3.2.1 or later automatically activates all existing peer groups, and the corresponding BGP sessions are reset for the “activate” configuration to be effective.
efa tenant service bgp peer-group <create/update>
efa tenant service bgp peer-group create --name ten1BgpPG1--tenant tenant1
--pg-name 10.20.246.15:pg7 --pg-asn 10.20.246.15,pg7:6001
--pg-update-source-ip 10.20.246.15,pg7:10.20.30.40 --pg-bfd-enable 10.20.246.15,pg7:true
--pg-bfd 10.20.246.15,pg7:100,200,5 --pg-next-hop-self 10.20.246.15,pg7:true
efa tenant service bgp peer-group update --name ten1BgpPG1 --tenant tenant1 --operation peer-group-add
--pg-name 10.20.246.15:pg8 --pg-asn 10.20.246.15,pg8:7001
--pg-update-source-ip 10.20.246.15,pg8:10.20.30.41 --pg-bfd-enable 10.20.246.15,pg8:true
--pg-bfd 10.20.246.15,pg8:200,300,6 --pg-next-hop-self 10.20.246.15,pg8:true
efa tenant service bgp peer-group show --tenant tenant1
===============================================================================================================================================================
Name : ten1BgpPG1
Tenant : tenant1
State : bgp-pg-created
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| Device IP | Peer | Remote | Next Hop | Update | BFD | BFD | Dev State | App State |
| | Group | ASN | Self | Source IP | Enabled | [Interval,Rx,Multiplier] | | |
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| 10.20.246.15 | pg7 | 6001 | true | 10.20.30.40 | true | 100, 200, 5 | provisioned | cfg-in-sync |
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| 10.20.246.15 | pg8 | 7001 | true | 10.20.30.41 | true | 200, 300, 6 | provisioned | cfg-in-sync |
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
BGP PeerGroup Details
Rack1-Device1# show running-config router bgp
router bgp
local-as 4200000000
capability as4-enable
fast-external-fallover
neighbor pg7 peer-group
neighbor pg7 remote-as 6001
neighbor pg7 update-source 10.20.30.40
neighbor pg7 next-hop-self
neighbor pg7 bfd
neighbor pg7 bfd interval 100 min-rx 200 multiplier 5
neighbor pg8 peer-group
neighbor pg8 remote-as 7001
neighbor pg8 update-source 10.20.30.41
neighbor pg8 next-hop-self
neighbor pg8 bfd
neighbor pg8 bfd interval 200 min-rx 300 multiplier 6
neighbor 10.20.20.3 remote-as 4200000000
neighbor 10.20.20.3 next-hop-self
address-family ipv4 unicast
network 172.31.254.55/32
network 172.31.254.152/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
neighbor pg7 activate
neighbor pg8 activate
!
address-family l2vpn evpn
graceful-restart
!
!
Rack1-Device1#
efa tenant service bgp peer-group update --name ten1BgpPG1 --tenant tenant1
--operation peer-group-delete --pg-name 10.20.246.15:pg8
efa tenant service bgp peer-group show --tenant tenant1
===============================================================================================================================================================
Name : ten1BgpPG1
Tenant : tenant1
State : bgp-pg-created
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| Device IP | Peer | Remote | Next Hop | Update | BFD | BFD | Dev State | App State |
| | Group | ASN | Self | Source IP | Enabled | [Interval,Rx,Multiplier] | | |
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| 10.20.246.15 | pg7 | 6001 | true | 10.20.30.40 | true | 100, 200, 5 | provisioned | cfg-in-sync |
+--------------+-------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
BGP PeerGroup Details
Rack1-Device1# show running-config router bgp
router bgp
local-as 4200000000
capability as4-enable
fast-external-fallover
neighbor pg7 peer-group
neighbor pg7 remote-as 6001
neighbor pg7 update-source 10.20.30.40
neighbor pg7 next-hop-self
neighbor pg7 bfd
neighbor pg7 bfd interval 100 min-rx 200 multiplier 5
neighbor 10.20.20.3 remote-as 4200000000
neighbor 10.20.20.3 next-hop-self
address-family ipv4 unicast
network 172.31.254.55/32
network 172.31.254.152/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
neighbor pg7 activate
!
address-family l2vpn evpn
graceful-restart
!
!
Rack1-Device1#
efa tenant service bgp peer-group delete --name ten1BgpPG1 --tenant tenant1
Rack1-Device1# show running-config router bgp
router bgp
local-as 4200000000
capability as4-enable
fast-external-fallover
neighbor 10.20.20.3 remote-as 4200000000
neighbor 10.20.20.3 next-hop-self
address-family ipv4 unicast
network 172.31.254.55/32
network 172.31.254.152/32
maximum-paths 8
graceful-restart
!
address-family ipv6 unicast
!
address-family l2vpn evpn
graceful-restart
!
!
Rack1-Device1#