gcloud compute routers

NAME
gcloud compute routers - list, create, and delete Compute Engine routers
SYNOPSIS
gcloud compute routers GROUP | COMMAND [GCLOUD_WIDE_FLAG]
DESCRIPTION
List, create, and delete Cloud Routers.

For more information about Cloud Routers, see the Cloud Router documentation.

See also: Routers API.

GCLOUD WIDE FLAGS
These flags are available to all commands: --help .

Run $ gcloud help for details.

GROUPS
GROUP is one of the following:
nats
List, create, describe, and delete Cloud NAT.
COMMANDS
COMMAND is one of the following:
add-bgp-peer
Add a BGP peer to a Compute Engine router.
add-interface
Add an interface to a Compute Engine router.
add-named-set
Add an empty named set to a Compute Engine router.
add-named-set-element
Adds an element to an existing named set of a Compute Engine router.
add-route-policy
Add an empty route policy to a Compute Engine router.
add-route-policy-term
Adds a new term to an existing route policy of a Comute Engine router.
create
Create a Compute Engine router.
delete
Delete Compute Engine routers.
describe
Describe a Compute Engine router.
download-named-set
Download a named set from a Compute Engine router.
download-route-policy
Download a route policy from a Compute Engine router.
get-named-set
Get a named set from a Compute Engine router.
get-nat-ip-info
Display NAT IP information in a router.
get-nat-mapping-info
Display NAT Mapping information in a router.
get-route-policy
Get a route policy from a Compute Engine router.
get-status
Get status of a Compute Engine router.
list
List Google Compute Engine routers.
list-bgp-routes
List routes advertised and learned on individual BGP sessions, both pre- and post-policy evaluation.
list-named-sets
List named sets from a Compute Engine router.
list-route-policies
List route policies from a Compute Engine router.
remove-bgp-peer
Remove a BGP peer from a Compute Engine router.
remove-interface
Remove an interface from a Compute Engine router.
remove-named-set
Remove a named set from a Compute Engine router.
remove-named-set-element
Remove an element from a named set of a Compute Engine router.
remove-route-policy
Remove a route policy from a Compute Engine router.
remove-route-policy-term
Remove a route policy term of a Compute Engine router.
update
Update a Compute Engine router.
update-bgp-peer
Update a BGP peer on a Compute Engine router.
update-interface
Update an interface on a Compute Engine router.
update-route-policy-term
Updates a term of an existing route policy of a Comute Engine router.
upload-named-set
Upload a named set into a Compute Engine router.
upload-route-policy
Upload a route policy into a Compute Engine router.
NOTES
These variants are also available:
gcloudalphacomputerouters 
gcloudbetacomputerouters 
gcloudpreviewcomputerouters 

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年07月21日 UTC.