efa tenant service bgp update

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

efa tenant service bgp update: peer-add

Adds BGP neighbours for a given VRF on the fabric device.

Syntax

efa tenant service bgp update --nameservice-name --tenanttenant-name--operation peer-add --ipv4-unicast-neighbor nhbr-info--ipv6-unicast-neighbor nhbr-info

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 |
+--------------+-----+------+---------+-------------+------------+-------------+--------------+--------+----------------+-------------+-------------+
============================================================================================================================================================

efa tenant service bgp update: peer-delete

Deletes BGP neighbours for a given VRF on the fabric device.

Syntax

efa tenant service bgp update --nameservice-name --tenanttenant-name--operation peer-delete --ipv4-unicast-neighbor nhbr-info--ipv6-unicast-neighbor nhbr-info

Examples

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 |
+--------------+-----+------+---------+-------------+------------+-------------+--------------+--------+----------------+-------------+-------------+
============================================================================================================================================================