gcloud edge-cloud networking routers remove-bgp-peer Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud edge-cloud networking routers remove-bgp-peer - remove a BGP peer from a Distributed Cloud Edge Network router
- SYNOPSIS
gcloud edge-cloud networking routers remove-bgp-peer(ROUTER:--location=LOCATION--zone=ZONE)(--peer-name=PEER_NAME|--peer-names=[PEER_NAME,…])[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
- Delete a list of BGP peer from a Distributed Cloud Edge Network router
- EXAMPLES
- To delete a BGP peer 'peer1' from the Distributed Cloud Edge Network router'my-router' in edge zone 'us-central1-edge-den1' , run:
gcloudedge-cloudnetworkingroutersremove-bgp-peermy-router--peer-name=peer1--location=us-central1--zone=us-central1-edge-den1 - POSITIONAL ARGUMENTS
- Router resource - The router from which we delete a BGP peer. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.
To set the
projectattribute:- provide the argument
routeron the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
ROUTER- ID of the router or fully qualified identifier for the router.
To set the
routerattribute:- provide the argument
routeron the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The Cloud location for the router.
To set the
locationattribute:- provide the argument
routeron the command line with a fullyspecified name; - provide the argument
--locationon the command line.
- provide the argument
--zone=ZONE- The zone of the router.
To set the
zoneattribute:- provide the argument
routeron the command line with a fullyspecified name; - provide the argument
--zoneon the command line.
- provide the argument
- provide the argument
- Router resource - The router from which we delete a BGP peer. The arguments inthis group can be used to specify the attributes of this resource. (NOTE) Someattributes are not given arguments in this group but can be set in other ways.
- REQUIRED FLAGS
- Exactly one of these must be specified:
--peer-name=PEER_NAME- The name of the BGP peer being removed.
--peer-names=[PEER_NAME,…]- The list of names for peers being removed. Only single value allowed currently.
- Exactly one of these must be specified:
- OPTIONAL FLAGS
--async- Return immediately, without waiting for the operation in progress to complete.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$gcloud helpfor details. - NOTES
- This variant is also available:
gcloudalphaedge-cloudnetworkingroutersremove-bgp-peer
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.