Add Path on Tenant BGP Peer Group

You can add paths on tenant BGP peer group.

About this task

Follow this procedure to configure additional paths (for both IPv4 and IPv6) when you create or update a BGP peer-group.

Procedure

  1. To configure an additional path when you create a BGP peer-group, run the following command:
    efa tenant service bgp peer-group create --name <bgp-pg-name> --tenant <tenant-name>
       --pg-ipv4-uc-nbr-add-path-capability <device-ip,pg-name:{send | receive | both}>
       --pg-ipv4-uc-nbr-add-path-advertise-all <device-ip,pg-name:{true | false}>
       --pg-ipv4-uc-nbr-add-path-advertise-group-best <device-ip,pg-name:{true | false}>
       --pg-ipv4-uc-nbr-add-path-advertise-best <device-ip,pg-name: 2-16>
  2. To configure an additional path when you update a BGP peer-group, run the following command:
    efa tenant service bgp peer-group update --name <bgp-pg-name> --tenant <tenant-name> 
       --pg-ipv4-uc-nbr-add-path-capability <device-ip,pg-name:{send | receive | both}>
       -pg-ipv4-uc-nbr-add-path-advertise-all <device-ip,pg-name:{true | false}>
       -pg-ipv4-uc-nbr-add-path-advertise-group-best <device-ip,pg-name:{true | false}>
       -pg-ipv4-uc-nbr-add-path-advertise-best <device-ip,pg-name: 2-16>
  3. Verify the switch configuration on the SLX device.
    Rack1-Device1# show running-config router bgp
    router bgp
     local-as 4200000000
     capability as4-enable
     fast-external-fallover
     neighbor pg1 peer-group
     neighbor pg1 remote-as 65002
     neighbor pg1 update-source 10.20.30.40
     neighbor pg1 next-hop-self
     neighbor pg1 password $9$QxCvD7N6a0P96eT3BvnQfQ==
     neighbor pg1 remove-private-as
     neighbor pg1 bfd
     neighbor pg1 bfd interval 100 min-rx 300 multiplier 5
     neighbor pg2 peer-group
     neighbor pg2 remote-as 65002
     neighbor pg2 update-source 10.20.30.50
     neighbor pg2 next-hop-self
     neighbor pg2 password $9$QxCvD7N6a0P96eT3BvnQfQ==
     neighbor pg2 remove-private-as
     neighbor pg2 bfd
     neighbor pg2 bfd interval 100 min-rx 300 multiplier 5
     neighbor 10.20.20.4 remote-as 4200000000
     neighbor 10.20.20.4 next-hop-self
     address-family ipv4 unicast
      network 172.31.254.214/32
      network 172.31.254.228/32
      additional-paths select all
      neighbor pg1 additional-paths send receive
      neighbor pg1 additional-paths advertise best 10 group-best all
      maximum-paths 8
      graceful-restart
     !
     address-family ipv6 unicast
      additional-paths select all
      neighbor pg1 additional-paths send 
      neighbor pg1 additional-paths advertise best 8 group-best all 
     !
     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 pg1 peer-group
     neighbor pg1 remote-as 65002
     neighbor pg1 update-source 10.20.30.40
     neighbor pg1 next-hop-self
     neighbor pg1 password $9$QxCvD7N6a0P96eT3BvnQfQ==
     neighbor pg1 remove-private-as
     neighbor pg1 bfd
     neighbor pg1 bfd interval 100 min-rx 300 multiplier 5
     neighbor pg2 peer-group
     neighbor pg2 remote-as 65002
     neighbor pg2 update-source 10.20.30.50
     neighbor pg2 next-hop-self
     neighbor pg2 password $9$QxCvD7N6a0P96eT3BvnQfQ==
     neighbor pg2 remove-private-as
     neighbor pg2 bfd
     neighbor pg2 bfd interval 100 min-rx 300 multiplier 5
     neighbor 10.20.20.5 remote-as 4200000000
     neighbor 10.20.20.5 next-hop-self
     address-family ipv4 unicast
      network 172.31.254.214/32
      network 172.31.254.246/32
      additional-paths select all
      neighbor pg1 additional-paths send receive
      neighbor pg1 additional-paths advertise best 5
      maximum-paths 8
      graceful-restart
     !
     address-family ipv6 unicast
      additional-paths select all
      neighbor pg1 additional-paths receive
      neighbor pg1 additional-paths advertise best 4
     !
     address-family l2vpn evpn
      graceful-restart
     !
    !

    For syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.2.1

Example

The following is an example output for adding an additional paths when you create or update a BGP peer group:
efa tenant service bgp peer-group create --name ten1bgppg1 --tenant ten1 

       --pg-name 10.20.246.15:pg1 --pg-asn 10.20.246.15,pg1:55001 
       --pg-bfd-enable 10.20.246.15,pg1:true 
       --pg-ipv4-uc-nbr-add-path-capability 10.20.246.15,pg1:both
       --pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.15,pg1:true 
       --pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.15,pg1:true 
       --pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.15,pg1:10  
       
       --pg-name 10.20.246.16:pg1 --pg-asn 10.20.246.16,pg1:55001 
       --pg-bfd-enable 10.20.246.16,pg1:true 
       --pg-ipv4-uc-nbr-add-path-capability 10.20.246.16,pg1:both
       --pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.16,pg1:false
       --pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.16,pg1:false 
       --pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.16,pg1:5


efa tenant service bgp peer-group update --name ten1bgppg1 --tenant ten1 
       --operation peer-group-add 
       --pg-name 10.20.246.15:pg2 --pg-asn 10.20.246.15,pg2:55002 
       --pg-bfd-enable 10.20.246.15,pg2:true 
       --pg-ipv4-uc-nbr-add-path-capability 10.20.246.15,pg2:send
       --pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.15,pg2:true 
       --pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.15,pg2:true
       --pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.15,pg2:8
                   
       --pg-name 10.20.246.16:pg2 --pg-asn 10.20.246.16,pg2:55002 
       --pg-bfd-enable 10.20.246.16,pg2:true 
       --pg-ipv4-uc-nbr-add-path-capability 10.20.246.16,pg2:receive
       --pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.16,pg2:false 
       --pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.16,pg2:false
       --pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.16,pg2:4
efa tenant service bgp peer-group show --detail
==========================================================
Name             : ten1bgppg1
Tenant           : ten1
State            : bgp-pg-created
Description      :

Peer Group
----------
 Device IP                : 10.20.246.16
 Peer Group               : pg1
 Remote ASN               : 65002
 Next Hop Self            : true
 Update Source IP         : 10.20.30.40
 BFD Enabled              : true
 BFD Interval             : 100
 BFD Rx                   : 300
 BFD Multiplier           : 5
 MD5 Password             : $9$QxCvD7N6a0P96eT3BvnQfQ==
 Remove Private AS        : true
 Add Path Capability IPv4 : Send, Receive
 Add Path Advertise       : Best 5 
 Dev State                : provisioned
 App State                : cfg-in-sync

 Device IP                : 10.20.246.16
 Peer Group               : pg2
 Remote ASN               : 65002
 Next Hop Self            : true
 Update Source IP         : 10.20.30.50
 BFD Enabled              : true
 BFD Interval             : 100
 BFD Rx                   : 300
 BFD Multiplier           : 5
 MD5 Password             : $9$QxCvD7N6a0P96eT3BvnQfQ==
 Remove Private AS        : true
 Add Path Capability      : Receive
 Add Path Advertise       : Best 4
 Dev State                : provisioned
 App State                : cfg-in-sync
==========================================
==========================================================        







 Device IP                : 10.20.246.15
 Peer Group               : pg1
 Remote ASN               : 65002
 Next Hop Self            : true
 Update Source IP         : 10.20.30.40
 BFD Enabled              : true
 BFD Interval             : 100
 BFD Rx                   : 300
 BFD Multiplier           : 5
 MD5 Password             : $9$QxCvD7N6a0P96eT3BvnQfQ==
 Remove Private AS        : true
 Add Path Capability IPv4 : Send, Receive
 Add Path Advertise  IPv4 : All, Group Best, Best 10
 Dev State                : provisioned
 App State                : cfg-in-sync

 Device IP                : 10.20.246.15
 Peer Group               : pg2
 Remote ASN               : 65002
 Next Hop Self            : true
 Update Source IP         : 10.20.30.50
 BFD Enabled              : true
 BFD Interval             : 100
 BFD Rx                   : 300
 BFD Multiplier           : 5
 MD5 Password             : $9$QxCvD7N6a0P96eT3BvnQfQ==
 Remove Private AS        : true
 Add Path Capability IPv6 : Send 
 Add Path Advertise  IPv6 : All, Group Best, Best 8
 Dev State                : provisioned
 App State                : cfg-in-sync
========================================