gcloud compute routers - list, create, and delete Compute Engine routers
gcloud compute routers GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
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.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- nats
List, create, describe, and delete Cloud NAT.
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.
- create
Create a Compute Engine router.
- delete
Delete Compute Engine routers.
- describe
Describe a Compute Engine router.
- get-nat-mapping-info
Display NAT Mapping information in a router.
- get-status
Get status of a Compute Engine router.
- list
List Google Compute Engine routers.
- remove-bgp-peer
Remove a BGP peer from a Compute Engine router.
- remove-interface
Remove an interface from 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.
These variants are also available:
$ gcloud alpha compute routers
$ gcloud beta compute routers