BGP Static Peer

BGP Peer Instance Create - Static Peer

efa tenant service bgp peer create --name <bgp-peer-name> --tenant <tenant-name> 
                   --ipv4-uc-nbr <device-ip,vrf-name:neighbor-ip,remote-asn> 
                   --ipv4-uc-nbr-bfd <device-ip,vrf-name:neighbor-ip,true|false> 
                   --ipv4-uc-nbr-send-community <device-ip,vrf-name:neighbor-ip,
                         all|both|extended|large|standard|large-and-standard|large-and-extended>
                   --ipv6-uc-nbr-send-community <device-ip,vrf-name:neighbor-ip,
                         all|both|extended|large|standard|large-and-standard|large-and-extended>

Example

Example:
efa tenant service bgp peer create --name ten1bgppeer1 --tenant ten1 
           --ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.40,50000 
           --ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.40,true 
           --ipv4-uc-nbr-send-community 10.20.246.15,ten1vrf1:10.20.30.40,all 
           --ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.40,50000 
           --ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.40,true 
           --ipv4-uc-nbr-send-community 10.20.246.16,ten1vrf1:10.20.30.40,both

BGP Peer Instance Show - Static Peer

efa tenant service bgp peer show --detail
==================================================
Name             : ten1bgppeer1
Tenant           : ten1
State            : bs-state-created
Description      :

Static Peer
-----------
        Device IP        : 10.20.246.15
        VRF              : ten1vrf1
        AFI              : ipv4
        SAFI             : unicast
        Remote IP        : 10.20.30.40
        Remote ASN       : 50000
        Next Hop Self    : false
        Update Source IP :
        BFD Enabled      : true
        BFD Interval     : 0
        BFD Rx           : 0
        BFD Multiplier   : 0
        Default Originate: 
        Default Originate
        Route Map        : 
        Send Community   : all
        Dev State        : provisioned
        App State        : cfg-in-sync

        Device IP        : 10.20.246.15
        VRF              : ten1vrf1
        AFI              : ipv4
        SAFI             : unicast
        Remote IP        : 10.20.30.50
        Remote ASN       : 50000
        Next Hop Self    : false
        Update Source IP :
        BFD Enabled      : true
        BFD Interval     : 0
        BFD Rx           : 0
        BFD Multiplier   : 0
        Default Originate: false
        Default Originate
        Route Map        : 
        Send Community   : standard

        Dev State        : provisioned
        App State        : cfg-in-sync
        Device IP        : 10.20.246.16
        VRF              : ten1vrf1
        AFI              : ipv4
        SAFI             : unicast
        Remote IP        : 10.20.30.40
        Remote ASN       : 50000
        Next Hop Self    : false
        Update Source IP :
        BFD Enabled      : true
        BFD Interval     : 0
        BFD Rx           : 0
        BFD Multiplier   : 0
        Default Originate: false
        Default Originate
        Route Map        : 
        Send Community   : both
        Dev State        : provisioned
        App State        : cfg-in-sync

        Device IP        : 10.20.246.16
        VRF              : ten1vrf1
        AFI              : ipv4
        SAFI             : unicast
        Remote IP        : 10.20.30.50
        Remote ASN       : 50000
        Next Hop Self    : false
        Update Source IP :
        BFD Enabled      : true
        BFD Interval     : 0
        BFD Rx           : 0
        BFD Multiplier   : 0
        Default Originate: false
        Default Originate
        Route Map        :
        Send Community   : extended
        Dev State        : provisioned
        App State        : cfg-in-sync
Dynamic Peer
-----------
        0 Records



        0 Records
==============================================

BGP Peer Instance Update - Static Peer Add

# efa tenant service bgp peer update --name <peer-name> --tenant <tenant-name> --operation peer-add --ipv4-uc-nbr <switch-ip,vrf-name:ipv4-neighbor,remote-as> --ipv4-uc-nbr-bfd <switch-ip,vrf-name:ipv4-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult> --ipv4-uc-nbr-update-source-ip <switch-ip,vrf-name:ipv4-neighbor,update-source-ip> --ipv4-uc-nbr-next-hop-self <switch-ip,vrf-name:ipv4-neighbor,next-hop-self(true/false)> --ipv6-uc-nbr <switch-ip,vrf-name:ipv6-neighbor,remote-as> --ipv6-uc-nbr-bfd <switch-ip,vrf-name:ipv6-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult> --ipv6-uc-nbr-update-source-ip <switch-ip,vrf-name:ipv6-neighbor,update-source-ip> --ipv6-uc-nbr-next-hop-self <switch-ip,vrf-name:ipv6-neighbor,next-hop-self(true/false)>

Example

# efa tenant service bgp peer update --name bgpservice1 --tenant tenant1 --operation peer-add --ipv6-uc-nbr 10.24.80.134,red:10::40,5000 --ipv6-uc-nbr-bfd 10.24.80.134,red:10::40,true,100,200,5 --ipv6-uc-nbr-update-source-ip 10.24.80.134,red:10::40,11::22 --ipv6-uc-nbr-next-hop-self 10.24.80.134,red:10::40,true
efa tenant service bgp peer show
============================================================================================================
Name : bgpservice1
Tenant : tenant1
State : bs-state-created
+-------------+---+-----+--------+-------+-------+-------+--------+----+----------+-----------+-----------+
|Device IP    |VRF| AFI | SAFI   | REMOTE| REMOTE|BFD    |BFD     |BFD |BFD       |Dev-state  |  App-state|
|             |   |     |        | IP    | ASN   |Enabled|Interval|Rx  |Multiplier|           |           |
+-------------+---+-----+--------+-------+-------+-------+--------+----+----------+-----------+-----------+
|10.24.80.134 |red| ipv6| unicast| 10::40| 5000  |false  |100     |200 |5         |provisioned|cfg-in-sync|
+-------------+---+-----+--------+-------+-------+-------+--------+----+----------+-----------+-----------+
=============================================================================================================

SLX Configuration

Rack1-Device1# show running-config router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.4 remote-as 4200000000
 neighbor 10.20.20.4 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.46/32
  network 172.31.254.123/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf ten1vrf1
  redistribute connected
  neighbor 10.20.30.40 remote-as 50000
  neighbor 10.20.30.40 send-community all
  neighbor 10.20.30.40 bfd
  neighbor 10.20.30.50 remote-as 50000
  neighbor 10.20.30.50 send-community standard
  neighbor 10.20.30.50 bfd
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf ten1vrf1
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!
Rack1-Device2# show running-config router bgp
router bgp
 local-as 4200000000
 capability as4-enable
 fast-external-fallover
 neighbor 10.20.20.5 remote-as 4200000000
 neighbor 10.20.20.5 next-hop-self
 address-family ipv4 unicast
  network 172.31.254.46/32
  network 172.31.254.176/32
  maximum-paths 8
  graceful-restart
 !
 address-family ipv4 unicast vrf ten1vrf1
  redistribute connected
  neighbor 10.20.30.40 remote-as 50000
  neighbor 10.20.30.40 send-community both
  neighbor 10.20.30.40 bfd
  neighbor 10.20.30.50 remote-as 50000
  neighbor 10.20.30.50 send-community extended
  neighbor 10.20.30.50 bfd
  maximum-paths 8
 !
 address-family ipv6 unicast
 !
 address-family ipv6 unicast vrf ten1vrf1
  redistribute connected
  maximum-paths 8
 !
 address-family l2vpn evpn
  graceful-restart
 !
!

BGP Peer Instance Update - Static Peer Delete

# efa tenant service bgp peer update --name <peer-name> --tenant <tenant-name> --operation peer-delete --ipv4-unicast-neighbor <switch-ip,vrf-name:ipv4-neighbor> --ipv6-unicast-neighbor <switch-ip,vrf-name:ipv4-neighbor >

Example

# efa tenant service bgp peer update --name bgpservice1 --tenant tenant1 --operation peer-delete --ipv4-unicast-neighbor 10.24.80.134,red:10.20.30.40
# efa tenant service bgp show
==============================================================================================================
Name : bgpservice1
Tenant : tenant1
State : bs-state-created
+------------+----+----+-------+-------+-------+--------+---------+----+----------+------------+-----------+
|Device IP   |VRF |AFI |SAFI   |REMOTE |REMOTE |BFD     |BFD      |BFD |BFD       |Dev-state   |App-state  |
|            |    |    |       |IP     |ASN    |Enabled |Interval |Rx  |Multiplier|            |           |
+------------+----+----+-------+-------+-------+--------+---------+----+----------+------------+-----------+
|10.24.80.134|red |ipv6|unicast|10::40 |5000   |false   |0        |0   |0         |provisioned |cfg-in-sync|
+------------+----+----+-------+-------+-------+--------+---------+----+----------+------------+-----------+
=============================================================================================================