efa tenant service bgp peer update

Updates BGP neighbours for a given VRF on the fabric device. Updates can be either addition or deletion of a peer.

Syntax

efa tenant service bgp update [ --description | --help | --ipv4-uc-dyn-nbr < device-ip,vrf-name:ipv4-listen-range,peer-group-name,listen-limit > |--ipv4-uc-nbr < device-ip,vrf-name:ipv4-neighbor,remote-as > | --ipv4-uc-nbr-bfd < device-ip,vrf-name:ipv4-neighbor,bfd-enable(true/false),bfd-interval,bfd-min-rx,bfd-multiplier > | --ipv4-uc-nbr-next-hop-self < device-ip,vrf-name:ipv4-neighbor,next-hop-self > | --ipv4-uc-nbr-update-source-ip < device-ip,vrf-name:ipv4-neighbor,update-source-ip > | --ipv6-uc-dyn-nbr < device-ip,vrf-name:ipv6-listen-range,peer-group-name,listen-limit > | --ipv6-uc-nbr < device-ip,vrf-name:ipv6-neighbor,remote-as >| --ipv6-uc-nbr-bfd < device-ip,vrf-name:ipv6-neighbor,bfd-enable(true/false),bfd-interval,bfd-min-rx,bfd-multiplier >| --ipv6-uc-nbr-next-hop-self < device-ip,vrf-name:ipv6-neighbor,next-hop-self > | --ipv6-uc-nbr-update-source-ip < device-ip,vrf-name:ipv6-neighbor,update-source-ip > | --name | --Operation < peer-add | peer-delete | desc-update > |--tenant ]

Parameters

--description
Displays service BGP description.
--help
Displays help for update.
--ipv4-unicast-neighbor
IPv4 Unicast Neighbor in the format "device-ip,vrf-name:ipv4-neighbor,remote-as,bfd-enable(true/false),bfd-interval,bfd-rx,bfd-multiplier" for "peer-add" operation, "device-ip,vrf-name:ipv4-neighbor" for "peer-delete" operation. BFD params are optional for "peer-add" and should not be provided for "peer-delete"
--ipv6-unicast-neighbor
IPv6 Unicast Neighbor in the format "device-ip,vrf-name:ipv6-neighbor,remote-as,bfd-enable(true/false),bfd-interval,bfd-rx,bfd-multiplier" for "peer-add" operation, "device-ip,vrf-name:ipv6-neighbor" for "peer-delete" operation. BFD params are optional for "peer-add" and should not be provided for "peer-delete"
--name
Name of the BGP Service Instance
--operation
Operation code peer-add | peer-delete | desc-update
--tenant
Name of the tenant

Examples

The following example adds peers to the BGP neighbours for a given VRF on the fabric device.

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

The following example deletes peers from the BGP neighbours for a given VRF on the fabric device.

efa tenant service bgp 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 IP  | REMOTE ASN | BFD Enabled | BFD Interval | BFD Rx | BFD Multiplier |  Dev-state  |  App-state  |
+--------------+-----+------+---------+-------------+------------+-------------+--------------+--------+----------------+-------------+-------------+
| 10.24.80.134 | red | ipv6 | unicast | 10::40      | 5000       | true        | 100          | 200    | 7              | provisioned | cfg-in-sync |
+--------------+-----+------+---------+-------------+------------+-------------+--------------+--------+----------------+-------------+-------------+
============================================================================================================================================================