efa tenant service bgp peer update

Adds, deletes, or updates a BGP peer instance.

Syntax

efa tenant service bgp peer update [ --name peer-name|--operation {peer-add|peer-delete|desc-update}|--tenant tenant-name|--description description | --ipv4-uc-dyn-nbr string | --ipv4-uc-nbr string | --ipv4-uc-nbr-bfd string| --ipv4-uc-nbr-send-community string| | --ipv4-uc-nbr-remove-private-as stringArray | --ipv4-uc-nbr-default-originate stringArray | --ipv4-uc-nbr-default-originate-route-map stringArray | --ipv4-uc-nbr-next-hop-self string | --ipv4-uc-nbr-update-source-ip string | --ipv4-uc-nbr-route-map stringArray | --ipv4-uc-nbr-md5-password password | --md5-password-prompt-enable { true | false } | --ipv4-uc-nbr-prefix-list stringArray | --ipv6-uc-nbr-prefix-list stringArray | --ipv6-uc-dyn-nbr string | --ipv6-uc-nbr string | --ipv6-uc-nbr-bfd string | --ipv6-uc-nbr-default-originate stringArray | --ipv6-uc-nbr-default-originate-route-map stringArray | --ipv6-uc-nbr-md5-password string | --ipv6-uc-nbr-next-hop-self string | --ipv6-uc-nbr-remove-private-as stringArray | --ipv6-uc-nbr-route-map stringArray | --ipv6-uc-nbr-update-source-ip string | --ipv6-uc-nbr-send-community stringArray | | --ipv4-uc-nbr-add-path-capability string | --ipv4-uc-nbr-add-path-advertise-all string | --ipv4-uc-nbr-add-path-advertise-group-best string | --ipv4-uc-nbr-add-path-advertise-best string | --ipv6-uc-nbr-add-path-capability string | --ipv6-uc-nbr-add-path-advertise-all string | --ipv6-uc-nbr-add-path-advertise-group-best string | --ipv6-uc-nbr-add-path-advertise-best string | --ipv4-uc-nbr-activate-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-default-originate-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-default-originate-route-map-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-route-map-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-prefix-list-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-send-community-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-add-path-capability-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-add-path-advertise-all-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-add-path-advertise-best-in-ipv6-uc-af stringArray | --ipv4-uc-nbr-add-path-advertise-group-best-in-ipv6-uc-af stringArray ]

Parameters

--description description
Describes the BGP service.
--ipv4-uc-dyn-nbr string
Identifies the IPv4 unicast dynamic neighbor with a string in the following format: device-ip,vrf-name:ipv4-listen-range,peer-group-name,listen-limit. For example: 10.x.x.x,red:11::22/127. The listen-limit value is optional.
--ipv4-uc-nbr string
Identifies the IPv4 unicast neighbor. For peer-add operations, enter a string in the following format: device-ip,vrf-name:ipv4-neighbor,remote-as. For example: 10.x.x.x,red:10.20.30.40,5000. The remote-as value is not required for peer-delete operations.
--ipv4-uc-nbr-bfd string
Identifies the IPv4 BFD unicast neighbor with a string in the following format: device-ip,vrf-name:ipv4-neighbor,bfd-enable(true/false),bfd-interval,bfd-min-rx,bfd-multiplier. For example: 10.x.x.x,red:10.20.30.40,true,100,200,5. BFD parameters are optional for peer-add operations and not required for peer-delete operations.
--ipv4-uc-nbr-send-community string
Updates the send-community in the following format: device-ip,vrf-name:neighbor-ip, (all | both | extended | large | standard | large-and-standard | large-and-extended).
--ipv4-uc-nbr-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,vrf-name:neighbor-ip,true|false. For example: 10.20.246.15,ten1vrf1:10.20.30.40,true.
By default, the setting is off.
--ipv4-uc-nbr-default-originate stringArray
Identifies the default-originate setting for the IPv4 unicast neighbor, with a string in the following format: device-ip,vrf-name:neighbor-ip,true/false. For example: 10.20.246.15,ten1vrf1:10.20.30.40,true.
--ipv4-uc-nbr-default-originate-route-map stringArray
Identifies the default-originate setting for the IPv4 unicast neighbor, with a string in the following format: device-ip,vrf-name:neighbor-ip,route-map. For example: 10.20.246.16,ten1vrf1:10.20.30.40,rmap1.
This parameter is optional.
--ipv4-uc-nbr-next-hop-self string
Identifies the next-hop-self for the IPv4 unicast neighbor with a string in the following format: device-ip,vrf-name:ipv4-neighbor,next-hop-self(true/false/always). For example: 10.x.x.x,red:10.y.y.y,true.
--ipv4-uc-nbr-update-source-ip string
Updates the source IP for the IPv4 unicast neighbor with a string in the following format: device-ip,vrf-name:ipv4-neighbor,update-source-ip. For example: 10.x.x.x,red:10.y.y.y,11.x.x.x.
--ipv4-uc-nbr-route-map stringArray
Identifies the IPv4 BFD route map, in the following format: device-ip,vrf-name:neighbor-ip,route-map-name. For example: 10.20.246.15,ten1vrf1:10.20.30.40,rmap1.
--ipv4-uc-nbr-md5-password password

IPv4 Unicast Neighbor md5-password in the format device-ip,vrf-name:ipv4-neighbor,ipv4-md5-password.

Example for encrypted/password containing special characters: --ipv4-uc-nbr-md5-password device-ip,vrf-name:ipv4-neighbor,'$9$MCgKGaNt6OASX68/7TC6Lw=='

--ipv4-uc-nbr-prefix-list stringArray
IPv4 Unicast Neighbor prefix list in the format device-ip,vrf-name:ipv4-neighbor,prefix-list-name,direction(in/out)
--ipv6-uc-nbr-prefix-list stringArray
IPv6 Unicast Neighbor prefix list in the format device-ip,vrf-name:ipv6-neighbor,prefix-list-name,direction(in/out)
--name peer-name
Identifies the name of the BGP peer instance.
--operation { peer-add | peer-delete | desc-update }
Identifies the type of operation you are performing: add a peer, delete a peer, or update a description.
--tenant tenant-name
Identifies the name of the tenant.
--md5-password-prompt-enable { true | false }
Turns on secure input for the MD5 password. The default is false.
--ipv6-us-nbr-send-community stringArray
Updates the send-community in the following format: device-ip,vrf-name:neighbor-ip, (all | both | extended | large | standard | large-and-standard | large-and-extended).
--ipv6-uc-dyn-nbr string
Identifies the IPv6 unicast dynamic neighbor with a string in the following format: device-ip,vrf-name:ipv6-listen-range,peer-group-name,listenlimit. The listen-limit value is optional.
--ipv6-uc-nbr string
Identifies the IPv6 unicast neighbor with a string in the following format: device-ip,vrfname:ipv6-neighbor,remote-as. For example: 10.x.x.x,red:10::40,5000.
--ipv6-uc-nbr-bfd string
Identifies the IPv6 BFD unicast neighbor with a string in the following format: device-ip,vrf-name:ipv6-neighbor,bfdenable(true/false),bfd-interval,bfd-min-rx,bfd-multiplier. For example: 10.x.x.x,red:10::40,true,100,200,5.
--ipv6-uc-nbr-default-originate stringArray
Identifies the IPv6 unicast neighbor default originate in the following format: device-ip,vrfname:ipv6-neighbor,default-originate(true/false).
--ipv6-uc-nbr-default-originate-route-map stringArray
Identifies the IPv6 unicast neighbor default originate route map in the following format: device-ip,vrf-name:ipv6-neighbor,route-map-name.
--ipv6-uc-nbr-md5-password string
Identifies the IPv6 unicast neighbor default originate route map in the following format: device-ip,vrf-name:ipv6-neighbor,route-map-name.

Example

Example for encrypted/password containing special characters: --ipv6-uc-nbr-md5-password device-ip,vrf-name:ipv6neighbor,'$9$MCgKGaNt6OASX68/7TC6Lw=='

Parameters

--ipv6-uc-nbr-next-hop-self string
Identifies the next-hop-self for the IPv6 unicast neighbor with a string in the following format: device-ip,vrf-name:ipv6-neighbor,next-hop-self(true/ false/always). For example: 10.x.x.x,red:10::40,true.
--ipv6-uc-nbr-remove-private-as stringArray
Identifies the IPv6 unicast neighbor remove private AS in the format: device-ip,vrfname:ipv6-neighbor,remove-private-as(true/false).
--ipv6-uc-nbr-route-map stringArray
Identifies the IPv6 unicast neighbor route map in the format: device-ip,vrf-name:ipv6neighbor,route-map-name,direction(in/out).
--ipv6-uc-nbr-update-source-ip string
Updates the source IP address for the IPv6 unicast neighbor with a string in the following format: device-ip,vrf-name:ipv6-neighbor,update-source-ip. For example: 10.x.x.x,red:10::40,11::22.
--ipv4-uc-nbr-add-path-capability string

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

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

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

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

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

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

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

--ipv4-uc-nbr-activate-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor in the format device-ip,vrf-name:ipv4-neighbor,activate(true/false).
--ipv4-uc-nbr-default-originate-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor default originate in the format device-ip,vrf-name:ipv4-neighbor,default-originate(true/false).
--ipv4-uc-nbr-default-originate-route-map-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor default originate route map in the format device-ip,vrf-name:ipv4-neighbor,route-map-name.
--ipv4-uc-nbr-route-map-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor prefix list in the format device-ip,vrf-name:ipv4-neighbor,prefix-list-name,direction(in/out).
--ipv4-uc-nbr-prefix-list-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor route map in the format device-ip,vrf-name:ipv4-neighbor,route-map-name,direction(in/out).
--ipv4-uc-nbr-send-community-in-ipv6-uc-af stringArray
IPv4 Unicast Neighbor send-community in the format device-ip,vrf-name:ipv4-neighbor,send-community. Valid values are (all - large, extended and standard / both - extended and standard / large / extended / standard / large-and-standard - large and standard / large-and-extended - large and extended).
--ipv4-uc-nbr-add-path-capability-in-ipv6-uc-af stringArray
BGP neighbor add-path capability in the format device-ip,vrf-name:ipv4-neighbor,add-path-capability. Valid values are (send / receive / both).
--ipv4-uc-nbr-add-path-advertise-all-in-ipv6-uc-af stringArray
BGP neighbor add-path advertise all in the format device-ip,vrf-name:ipv4-neighbor,add-path-advertise-all(true/false).
--ipv4-uc-nbr-add-path-advertise-best-in-ipv6-uc-af stringArray
BGP neighbor add-path advertise best in the format device-ip,vrf-name:ipv4-neighbor,add-path-advertise-best. Valid values are 2-16.
--ipv4-uc-nbr-add-path-advertise-group-best-in-ipv6-uc-af stringArray
BGP neighbor add-path advertise group best in the format device-ip,vrf-name:ipv4-neighbor,add-path-advertise-group-best(true/false).

Examples

This example adds a peer to instance B2.

$ efa tenant service bgp peer update 
--name B2 --tenant tenant11 --operation peer-add 
--ipv6-uc-nbr 10.20.216.15,blue11:18::1,98100  
--ipv4-uc-nbr 10.20.216.16,blue11:1.1.1.12,95001

BGP service updated successfully.

This example deletes a BGP peer for the specified VRF (red) in the bgpservice1 instance for tenant1.

$ efa tenant service bgp peer update --name bgpservice1 --tenant tenant1 
--operation peer-delete --ipv4-uc-nbr 10.24.80.134,red:10.20.30.40
$ efa tenant service bgp peer update --name ten1bgppeer1 --tenant ten1 
--operation peer-add --ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.50,50000 
--ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-remove-private-as 10.20.246.15,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.50,50000 
--ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-remove-private-as 10.20.246.16,ten1vrf1:10.20.30.50,false
$ efa tenant service bgp peer update --name ten1bgppeer1 --tenant ten1
 --operation peer-add  --ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.50,50000
 --ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.50,true
 --ipv4-uc-nbr-default-originate 10.20.246.15,ten1vrf1:10.20.30.50,true
 --ipv4-uc-nbr-default-originate-route-map 10.20.246.15,ten1vrf1:10.20.30.50,rmap2
 --ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.50,50000
 --ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.50,true
 --ipv4-uc-nbr-default-originate 10.20.246.16,ten1vrf1:10.20.30.50,false
$ efa tenant service bgp peer update --name ten1bgppeer1 --tenant ten1 
--operation peer-add --ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.50,50000 
--ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-route-map 10.20.246.15,ten1vrf1:10.20.30.50,rmap2,in 
--ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.50,50000 
--ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-route-map 10.20.246.16,ten1vrf1:10.20.30.50,rmap2,out
efa tenant service bgp peer update --name ten1bgppeer1 --tenant ten1  
--operation peer-add  
--ipv4-uc-nbr 10.20.246.15,ten1vrf1:10.20.30.50,50000  
--ipv4-uc-nbr-bfd 10.20.246.15,ten1vrf1:10.20.30.50,true  
--ipv4-uc-nbr-add-path-capability 10.20.246.15,ten1vrf1:10.20.30.50,send 
--ipv4-uc-nbr-add-path-advertise-all 10.20.246.15,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.15,ten1vrf1:10.20.30.50,true 
--ipv4-uc-nbr-add-path-advertise-best 10.20.246.15,ten1vrf1:10.20.30.50,8 
......					
--ipv4-uc-nbr 10.20.246.16,ten1vrf1:10.20.30.50,50000  
--ipv4-uc-nbr-bfd 10.20.246.16,ten1vrf1:10.20.30.50,true  
--ipv4-uc-nbr-add-path-capability 10.20.246.16,ten1vrf1:10.20.30.50,receive 
--ipv4-uc-nbr-add-path-advertise-all 10.20.246.16,ten1vrf1:10.20.30.50,false 
--ipv4-uc-nbr-add-path-advertise-group-best 10.20.246.16,ten1vrf1:10.20.30.50,false 
--ipv4-uc-nbr-add-path-advertise-best 10.20.246.16,ten1vrf1:10.20.30.50,4