efa tenant service bgp peer-group create

Creates a BGP peer group for the specified tenant.

Syntax

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

Parameters

--name peer-group-name
Specifies the name of the BGP peer group instance.
--tenant tenant-name
Specifies the name of the tenant.
--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,bfd-min-rx,bfd-multiplier.
--pg-name string
Specifies the BGP peer group name 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 of the BGP peer group with a string in the following format: device-ip:peer-group-name,update-source-ip.
--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 creates a peer group instance.
(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer-group create --name PG1 --tenant tenant11 
--pg-name 10.20.216.16:pg1 --pg-asn 10.20.216.16,pg1:95002 --pg-bfd-enable 10.20.216.16,pg1:true 
--pg-bfd 10.20.216.16,pg1:660,506,20 --pg-next-hop-self 10.20.216.16,pg1:true 
--pg-update-source-ip 10.20.216.16,pg1:10.10.10.3 --pg-md5-password 10.20.246.24,v1-PeerGrp:'$9$MCgKGaNt6OASX68/7TC6Lw=='

BgpService created successfully.

--- Time Elapsed: 1.965046891s ---
The following example creates a BGP peer-group 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-group create --tenant "tenant11" --name "v1-PeerGrp" 
                       --pg-name 10.20.246.5:v1-PeerGrp --pg-asn 10.20.246.5,v1-PeerGrp:5200 
                       --pg-bfd-enable 10.20.246.5,v1-PeerGrp:true 
                       --pg-name 10.20.246.5:v3-PeerGrp --pg-asn 10.20.246.5,v3-PeerGrp:5201 
                       --pg-bfd-enable 10.20.246.5,v3-PeerGrp:true 
                       --pg-name 10.20.246.6:v1-PeerGrp --pg-asn 10.20.246.6,v1-PeerGrp:5200 
                       --pg-bfd-enable 10.20.246.6,v1-PeerGrp:true 
                       --pg-md5-password-prompt-enable=true