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 [ --description description| --help | --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 ]

Parameters

--description description
Describes the BGP peer group.
--help
Displays help for the command.
--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.

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