efa tenant service bgp peer create

Creates a BGP peer for a specified VRF.

Syntax

efa tenant service bgp peer create [ --description description | --ipv4-uc-dyn-nbr string | --ipv4-uc-nbr string | --ipv4-uc-nbr-bfd string | --ipv4-uc-nbr-next-hop-self string | --ipv4-uc-nbr-update-source-ip string | --ipv6-uc-dyn-nbr string | --ipv6-uc-nbr string | --ipv6-uc-nbr-bfd string | --ipv4-uc-nbr-md5-password string | --ipv6-uc-nbr-md5-password string | --ipv6-uc-nbr-next-hop-self string | --ipv6-uc-nbr-update-source-ip string | --name peer-name peer-add | peer-delete | desc-update |--tenant tenant-name |--md5-password-prompt-enable true | false ]

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 with 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.
--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.
--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.
--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,listen-limit. The listen-limit value is optional.
--ipv6-uc-nbr string
Identifies the IPv6 unicast neighbor with a string in the following format: device-ip,vrf-name: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,bfd-enable(true/false),bfd-interval,bfd-min-rx,bfd-multiplier. For example: 10.x.x.x,red:10::40,true,100,200,5.
--ipv4-uc-nbr-md5-password string

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

--ipv6-uc-nbr-md5-password string

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

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

--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-update-source-ip string
Updates the source IP 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.
--name peer-name
Identifies the name of the BGP peer instance.
--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.
The following examples create a static BGP peer (IPv4/IPv6).
(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer create --name B1 --tenant tenant11 --ipv4-uc-nbr 10.20.216.16,blue11:1.1.1.11,95001 --ipv4-uc-nbr-bfd 10.20.216.16,blue11:1.1.1.11,true,50,5000,50 --ipv4-uc-nbr-next-hop-self 10.20.216.16,blue11:1.1.1.11,always --ipv4-uc-nbr-update-source-ip 10.20.216.16,blue11:1.1.1.11,10.11.12.13 --ipv6-uc-nbr 10.20.216.16,blue11:20a1:a::10,95001 --ipv6-uc-nbr-bfd 10.20.216.16,blue11:20a1:a::10,true,50,5000,50 --ipv6-uc-nbr-next-hop-self 10.20.216.16,blue11:20a1:a::10,always --ipv6-uc-nbr-update-source-ip 10.20.216.16,blue11:20a1:a::10,20::10

BgpService created successfully.

--- Time Elapsed: 4.144354035s ---
The following examples create a dynamic BGP peer (IPv4/IPv6).
(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer create --name B2 --tenant tenant11 --ipv6-uc-dyn-nbr 10.20.216.16,blue11:15::/127,pg1,10 --ipv4-uc-dyn-nbr 10.20.216.16,blue11:15.15.15.0/28,pg1,10

BgpService created successfully.

--- Time Elapsed: 1.852356132s ---
The following example creates a BGP peer md5-password in a secure manner.

For the complete procedure, see the topic "Configure BGP MD5 Authentication for Tenant BGP Peer and Peer-group Securely" topic in the ExtremeFabric Security Guide.

efa tenant service bgp peer create --name bgp173-2501 --tenant tenant11 
                       --ipv4-uc-nbr 10.20.246.6,v1:25.1.1.3,5901 
                       --ipv4-uc-nbr-bfd 10.20.246.6,v1:25.1.1.3,true 
                       --ipv6-uc-nbr 10.20.246.5,v1:25:1::3,5901 
                       --ipv6-uc-nbr-bfd 10.20.246.5,v1:25:1::3,true 
                       --md5-password-prompt-enable=true