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 [ --name peer-group-name | --tenant tenant-name| --description description| --operation { peer-group-add | peer-group-delete | desc-update } | --pg-name string | --pg-asn string|--pg-bfd string | --pg-bfd-enable string | --pg-remove-private-as stringArray | --pg-md5-password string | --pg-md5-password-prompt-enable { true | false } | --pg-next-hop-self string | --pg-update-source-ip string | --pg-ipv4-uc-nbr-prefix-list string | --pg-ipv4-uc-nbr-route-map string | --pg-ipv6-uc-nbr-prefix-list string | --pg-ipv6-uc-nbr-route-map string | --pg-ipv4-uc-nbr-send-community string | --pg-ipv6-uc-nbr-send-community string | --pg-ipv4-uc-nbr-add-path-capability string | --pg-ipv4-uc-nbr-add-path-advertise-all string | --pg-ipv4-uc-nbr-add-path-advertise-group-best string | --pg-ipv4-uc-nbr-add-path-advertise-best string | --pg-ipv6-uc-nbr-add-path-capability string | --pg-ipv6-uc-nbr-add-path-advertise-all string | --pg-ipv6-uc-nbr-add-path-advertise-group-best string | --pg-ipv6-uc-nbr-add-path-advertise-best string | --pg-ipv6-uc-nbr-activate stringArray ]

Parameters

--name peer-group-name
Specifies the name of the BGP peer group instance.
--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-remove-private-as stringArray
Turns the remove-private-as setting on or off per BGP peer group, created for external connectivity, in the following format: device-ip,pg-name:true|false. For example: 10.20.246.16,pg1:true.
By default, the setting is off.
--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-bfd-enable string
Specifies the BGP peer-group BFD in the following format: device-ip,peer-group-name:bfd-enable(true/false).
--pg-md5-password string
Indicates the MD5 password.
Important

Important

BGP MD5 authentication for tenant dynamic peers is not supported.
--pg-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 supported.
--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 address for the BGP peer group with a string in the following format: device-ip:peer-group-name,update-source-ip.
--tenant tenant-name
Specifies the name of the tenant.
--description description
Describes the BGP service.
--pg-ipv4-uc-nbr-prefix-list string
Identifies the IPv4 unicast neighbor with a string in the following format: device-ip,pgname:prefix-list-name,direction(in | out).
--pg-ipv4-uc-nbr-route-map string
Identifies the IPv4 unicast neighbor with a string in the following format: device-ip,pgname:route-map-name,direction(in | out).
--pg-ipv6-uc-nbr-prefix-list string
Identifies the IPv6 unicast neighbor with a string in the following format: device-ip,pgname:prefix-list-name,direction(in | out).
--pg-ipv6-uc-nbr-route-map string
Identifies the IPv6 unicast neighbor with a string in the following format: device-ip,pgname:route-map-name,direction(in | out).
--pg-ipv4-uc-nbr-send-community stringArray
Identifies the IPv4 send-community in the following format: device-ip,pgname:send-community (all | both | extended | large | standard | large-and-standard | large-and-extended).
--pg-ipv6-uc-nbr-send-community stringArray
Identifies the IPv6 send-community in the following format: device-ip,pgname:send-community (all | both | extended | large | standard | large-and-standard | large-and-extended).
--pg-ipv4-uc-nbr-add-path-capability string

Identifies the BGP peer-group add-path capability in the format device-ip,peer-group-name:add-path-capability. Valid values are (send / receive / both).

--pg-ipv4-uc-nbr-add-path-advertise-all string
Identifies the BGP peer-group add-path advertise all in the format device-ip,peer-group-name:add-path-advertise-all(true/false).
--pg-ipv4-uc-nbr-add-path-advertise-group-best string
Identifies the BGP peer-group add-path advertise group best in the format device-ip,peer-group-name:add-path-advertise-group-best(true/false).
--pg-ipv4-uc-nbr-add-path-advertise-best string

Identifies the BGP peer-group add-path advertise best in the format device-ip,peer-group-name:add-path-advertise-best. Valid values are 2-16.

--pg-ipv6-uc-nbr-add-path-capability string

Identifies the BGP peer-group add-path capability in the format device-ip,peer-group-name:add-path-capability. Valid values are (send / receive / both).

--pg-ipv6-uc-nbr-add-path-advertise-all string
Identifies the BGP peer-group add-path advertise all in the format device-ip,peer-group-name:add-path-advertise-all(true/false).
--pg-ipv6-uc-nbr-add-path-advertise-group-best string
Identifies the BGP peer-group add-path advertise group best in the format device-ip,peer-group-name:add-path-advertise-group-best(true/false).
--pg-ipv6-uc-nbr-add-path-advertise-best string
BGP peer-group add-path advertise best in the format device-ip,peer-group-name:add-path-advertise-best.
--pg-ipv6-uc-nbr-activate stringArray
BGP peer-group Activate in the format device-ip,peer-group-name:activate(true/false).

Examples

This example updates a peer group instance by defining several of its attributes.

$ efa tenant service bgp peer-group update --name ten1bgppg1 
--tenant ten1 --operation peer-group-add --pg-name 10.20.246.15:pg2 
--pg-asn 10.20.246.15,pg2:55002 --pg-bfd-enable 10.20.246.15,pg2:true 
--pg-remove-private-as 10.20.246.15,pg2:true --pg-name 10.20.246.16:pg2 
--pg-asn 10.20.246.16,pg2:55002 --pg-bfd-enable 10.20.246.16,pg2:true

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

$ efa tenant service bgp peer-group update 
--name PG1 --tenant tenant11 --operation peer-group-delete 
--pg-name 10.20.216.15:pg1
efa tenant service bgp peer-group update --name ten1bgppg1 --tenant ten1  
--operation peer-group-add  
--pg-name 10.20.246.15:pg2 --pg-asn 10.20.246.15,pg2:55002  
--pg-bfd-enable 10.20.246.15,pg2:true  
--pg-ipv4-uc-nbr-add-path-capability 10.20.246.15,pg2:send 
--pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.15,pg2:true  
--pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.15,pg2:true 
--pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.15,pg2:8 
…….. 
--pg-name 10.20.246.16:pg2 --pg-asn 10.20.246.16,pg2:55002  
--pg-bfd-enable 10.20.246.16,pg2:true  
--pg-ipv4-uc-nbr-add-path-capability 10.20.246.16,pg2:receive 
--pg-ipv4-uc-nbr-add-path-advertise-all 10.20.246.16,pg2:false  
--pg-ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.16,pg2:false 
--pg-ipv4-uc-nbr-add-path-advertise-best 10.20.246.16,pg2:4