efa tenant service bgp peer-group update

Adds, deletes, or updates a BGP peer group for the specified tenant.

Syntax

efa tenant service bgp peer-group update [ --operation peer-group-add | peer-group-delete | desc-update |--pg-asn string | --pg-bfd string | --pg-name string | -pg-next-hop-self string | --pg-update-source-ip string| --name peer-group-name |--tenant tenant-name --pg-md5-passwordstring| --md5-password-prompt-enable true | false ]

Parameters

--operation peer-group-add | peer-group-delete | desc-update
Specifies the type of operation you are performing: add a peer group, delete a peer group, or update a description.
--pg-asn string
Specifies the ASN of the BGP peer group with a string in the following format: device-ip;peer-group-name,remote-asn.
--pg-bfd string
Specifies the BFD properties of the BGP peer group with a string in the following format: device-ip:peer-group-name,bfd-enable(true/false),interval,min-rx,multiplier.
--pg-name string
Specifies the name of the BGP peer group with a string in the following format: device-ip:peer-group-name.
--pg-next-hop-self string
Specifies the next-hop-self for the BGP peer group with a string in the following format: device-ip:peer-group-name,next-hop-self(true/false/always).
--pg-update-source-ip string
Updates the source IP for the BGP peer group with a string in the following format: device-ip:peer-group-name,update-source-ip.
--name peer-group-name
Specifies the name of the BGP peer group instance.
--tenant tenant-name
Specifies the name of the tenant.
--pg-md5-password string
Indicates the MD5 password.
Important

Important

BGP MD5 authentication for tenant dynamic peers is not yet supported.
--md5-password-prompt-enable true | false
Turns on secure input for the MD5 password. The default is false.
Important

Important

BGP MD5 authentication for tenant dynamic peers is not yet supported.

Examples

This example updates an existing peer-group instance and adds a new peer-group to an existing instance.

(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer-group update 
--name PG1 --tenant tenant11 --operation peer-group-add --pg-name 10.20.216.15:pg1 
--pg-asn 10.20.216.15,pg1:65000 --pg-bfd-enable 10.20.216.15,pg1:false 
--pg-bfd 10.20.216.15,pg1:6000,5600,50 --pg-next-hop-self 10.20.216.15,pg1:always 
--pg-update-source-ip 10.20.216.15,pg1:10.10.10.4

--- Time Elapsed: 2.218s ---

This example updates an existing peer-group instance and deletes a peer-group from an existing instance.

(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer-group update 
--name PG1 --tenant tenant11 --operation peer-group-delete 
--pg-name 10.20.216.15:pg1

--- Time Elapsed: 3.146454s ---