HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/help/man/man1/gcloud_compute_routers.1
.TH "GCLOUD_COMPUTE_ROUTERS" 1



.SH "NAME"
.HP
gcloud compute routers \- list, create, and delete Compute Engine routers



.SH "SYNOPSIS"
.HP
\f5gcloud compute routers\fR \fIGROUP\fR | \fICOMMAND\fR [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

List, create, and delete Cloud Routers.

For more information about Cloud Routers, see the Cloud Router documentation
(https://cloud.google.com//network\-connectivity/docs/router/concepts/overview).

See also: Routers API
(https://cloud.google.com/compute/docs/reference/rest/v1/routers).



.SH "GCLOUD WIDE FLAGS"

These flags are available to all commands: \-\-help.

Run \fB$ gcloud help\fR for details.



.SH "GROUPS"

\f5\fIGROUP\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBnats\fR

List, create, describe, and delete Cloud NAT.


.RE
.sp

.SH "COMMANDS"

\f5\fICOMMAND\fR\fR is one of the following:

.RS 2m
.TP 2m
\fBadd\-bgp\-peer\fR

Add a BGP peer to a Compute Engine router.

.TP 2m
\fBadd\-interface\fR

Add an interface to a Compute Engine router.

.TP 2m
\fBadd\-route\-policy\fR

Add an empty route policy to a Compute Engine router.

.TP 2m
\fBadd\-route\-policy\-term\fR

Adds a new term to an existing route policy of a Comute Engine router.

.TP 2m
\fBcreate\fR

Create a Compute Engine router.

.TP 2m
\fBdelete\fR

Delete Compute Engine routers.

.TP 2m
\fBdescribe\fR

Describe a Compute Engine router.

.TP 2m
\fBdownload\-route\-policy\fR

Download a route policy from a Compute Engine router.

.TP 2m
\fBget\-nat\-ip\-info\fR

Display NAT IP information in a router.

.TP 2m
\fBget\-nat\-mapping\-info\fR

Display NAT Mapping information in a router.

.TP 2m
\fBget\-route\-policy\fR

Get a route policy from a Compute Engine router.

.TP 2m
\fBget\-status\fR

Get status of a Compute Engine router.

.TP 2m
\fBlist\fR

List Google Compute Engine routers.

.TP 2m
\fBlist\-bgp\-routes\fR

List routes advertised and learned on individual BGP sessions, both pre\- and
post\-policy evaluation.

.TP 2m
\fBlist\-route\-policies\fR

List route policies from a Compute Engine router.

.TP 2m
\fBremove\-bgp\-peer\fR

Remove a BGP peer from a Compute Engine router.

.TP 2m
\fBremove\-interface\fR

Remove an interface from a Compute Engine router.

.TP 2m
\fBremove\-route\-policy\fR

Remove a route policy from a Compute Engine router.

.TP 2m
\fBremove\-route\-policy\-term\fR

Remove a route policy term of a Compute Engine router.

.TP 2m
\fBupdate\fR

Update a Compute Engine router.

.TP 2m
\fBupdate\-bgp\-peer\fR

Update a BGP peer on a Compute Engine router.

.TP 2m
\fBupdate\-interface\fR

Update an interface on a Compute Engine router.

.TP 2m
\fBupdate\-route\-policy\-term\fR

Updates a term of an existing route policy of a Comute Engine router.

.TP 2m
\fBupload\-route\-policy\fR

Upload a route policy into a Compute Engine router.


.RE
.sp

.SH "NOTES"

These variants are also available:

.RS 2m
$ gcloud alpha compute routers
.RE

.RS 2m
$ gcloud beta compute routers
.RE