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 a peer group named ten1BgpPG1.
efa tenant service bgp peer-group update --name ten1BgpPG1 --tenant tenant1
--operation peer-group-add --pg-name 10.24.80.134:pg2 –pg-asn 10.24.80.134:pg2,7000
--pg-bfd 10.24.80.134:pg2,true,200,300,6 --pg-next-hop-self 10.24.80.134:pg2,true
--pg-update-source-ip 10.24.80.134:pg2,10.20.30.41