Configure Static Peer on Tenant BGP

You can configure a static peer on a tenant BGP.

About this task

Follow this procedure to configure a static peer.

Procedure

  1. To configure BGP static peer, run the following commands:
    efa tenant service bgp peer create --name <peer-name> --tenant <tenant-name>                             
        --ipv4-uc-nbr <border-leaf-ip,vrf-name:ipv4-neighbor,remote-as>                                 
        --ipv4-uc-nbr-bfd <border-leaf-ip,vrf-name:ipv4-neighbor,bfd-enable(true/false/always),bfd-interval,bfd-rx,bfd-mult>
        --ipv4-uc-nbr-update-source-ip <border-leaf-ip,vrf-name:ipv4-neighbor,update-source-ip>
        --ipv4-uc-nbr-next-hop-self <border-leaf-ip,vrf-name:ipv4-neighbor,next-hop-self(true/false/always)>
        --ipv6-uc-nbr <border-leaf-ip,vrf-name:ipv6-neighbor,remote-as>
        --ipv6-uc-nbr-bfd <border-leaf-ip,vrf-name:ipv6-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult>
        --ipv6-uc-nbr-update-source-ip <border-leaf-ip,vrf-name:ipv6-neighbor,update-source-ip>
        --ipv6-uc-nbr-next-hop-self <border-leaf-ip,vrf-name:ipv6-neighbor,next-hop-self(true/false/always)>

    The following example creates a BGP static peer on tenant BGP:

    efa tenant service bgp peer create --name bgpservice1 --tenant tenant1                       
        --ipv4-uc-nbr BL1-IP,VRF1:10.20.30.40,5000                       
        --ipv4-uc-nbr-bfd BL1-IP,VRF1:10.20.30.40,true,100,200,5                      
        --ipv4-uc-nbr-update-source-ip BL1-IP,VRF1:10.20.30.40,11.22.20.33
        --ipv4-uc-nbr-next-hop-self BL1-IP,VRF1:10.20.30.40,true
  2. To update BGP static peer, run the following commands:
    efa tenant service bgp peer update --name <peer-name> --tenant <tenant-name>
        --operation peer-add 
        --ipv4-uc-nbr <border-leaf-ip,vrf-name:ipv4-neighbor,remote-as>
        --ipv4-uc-nbr-bfd <border-leaf-ip,vrf-name:ipv4-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult>
        --ipv4-uc-nbr-update-source-ip <border-leaf-ip,vrf-name:ipv4-neighbor,update-source-ip>
        --ipv4-uc-nbr-next-hop-self <border-leaf-ip,vrf-name:ipv4-neighbor,next-hop-self(true/false/always)>
        --ipv6-uc-nbr <border-leaf-ip,vrf-name:ipv6-neighbor,remote-as>
        --ipv6-uc-nbr-bfd <border-leaf-ip,vrf-name:ipv6-neighbor,bfd-enable(t/f),bfd-interval,bfd-rx,bfd-mult>
        --ipv6-uc-nbr-update-source-ip <border-leaf-ip,vrf-name:ipv6-neighbor,update-source-ip>
        --ipv6-uc-nbr-next-hop-self <border-leaf-ip,vrf-name:ipv6-neighbor,next-hop-self(true/false/always)>

    The following example updates a BGP static peer on tenant BGP:

    efa tenant service bgp peer update --name bgpservice1 --tenant tenant1 --operation peer-add
        --ipv6-uc-nbr BL1-IP,VRF1:10::40,5000
        --ipv6-uc-nbr-bfd BL1-IP,VRF1:10::40,true,100,200,5                      
        --ipv6-uc-nbr-update-source-ip BL1-IP,VRF1:10::40,11::22
        --ipv6-uc-nbr-next-hop-self BL1-IP,VRF1:10::40,true