BGP Dynamic Peer

BGP Peer Instance Create - Dynamic Peer

# efa tenant service bgp peer create --name <peer-name> --tenant <tenant-name> --ipv4-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name,listen-limit> --ipv6-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name,listen-limit>

Example

# efa tenant service bgp peer create --name bgpservice1 --tenant tenant1 --operation peer-add –ipv4-uc-dyn-nbr 10.24.80.134,red:11::22/127,pg1,20

BGP Peer Instance Show - Dynamic Peer

Example

# efa tenant service bgp peer show
============================================================================================================================================================
Name : bgpservice1
Tenant : tenant1
State : bs-state-created
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
| Device IP | VRF | AFI | SAFI | LISTEN RANGE | Peer Group | LISTEN LIMIT | Dev-state | App-state |
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
| 10.24.80.134 | red | ipv4 | unicast | 11.22.33.44/30 | pg1 | 10 | provisioned | cfg-in-sync |
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+ | 10.24.80.134 | red | ipv6 | unicast | 11::22/127 | pg1 | 20 | provisioned | cfg-in-sync |
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
============================================================================================================================================================

Switch Config

Rack1-Device1# sh run router bgp
router bgp
local-as 100
neighbor pg1 peer-group
neighbor pg1 remote-as 6000
address-family ipv4 unicast
!
address-family ipv4 unicast vrf red
listen-range 11.22.33.44/30 peer-group pg1 limit 10
!
address-family ipv6 unicast
!
address-family ipv6 unicast vrf red
listen-range 11::22/127 peer-group pg1 limit 20
!
address-family l2vpn evpn
!
!

BGP Peer Instance Update - Dynamic Peer Delete

# efa tenant service bgp peer update --name <peer-name> --tenant <tenant-name> --operation peer-delete --ipv4-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name> --ipv6-uc-dyn-nbr <switch-ip,vrf-name:listen-range,peer-group-name>

Example

# efa tenant service bgp peer create --name bgpservice1 --tenant tenant1 --operation peer-delete –ipv4-uc-dyn-nbr 10.24.80.134,red:11::22/127,pg1

# efa tenant service bgp peer show
============================================================================================================================================================
Name : bgpservice1
Tenant : tenant1
State : bs-state-created
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
| Device IP | VRF | AFI | SAFI | LISTEN RANGE | Peer Group | LISTEN LIMIT | Dev-state | App-state |
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
| 10.24.80.134 | red | ipv4 | unicast | 11.22.33.44/30 | pg1 | 10 | provisioned | cfg-in-sync |
+--------------+-----+------+---------+----------------+------------+--------------+-------------+-------------+
============================================================================================================================================================

BGP Peer Instance Delete

efa tenant service bgp peer delete –-name <peer-name> --tenant <tenant-name>

Example

# efa tenant service bgp peer delete –name bgpservice1 –tenant tenant1