Optional: Click the Show suppressed routes toggle to the on
position to view routes that are suppressed. To view the reason why a
route is suppressed, point to the icon in the Status column.
PROJECT_ID: the project ID that contains your
VPC network
ROUTE_NAME: the name of the route
API
To list and view details for subnet routes
and static routes, use the
routes.list and
routes.get methods. These methods
don't show other types of routes. To see all routes, use the Google Cloud console.
To list routes, do the following:
GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/global/routes?filter=network="NETWORK_URL
To get details for a route, do the following:
GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/global/routes/ROUTE_NAME
Replace the following:
PROJECT_ID: the project ID that contains your
VPC network
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# View the VPC route table\n\nThis page describes how to view VPC route tables. This page\nassumes that you are familiar with how to\n[list routes for a VPC network](/vpc/docs/using-routes#listingroutes).\n\n#### Permissions required for this task\n\nTo perform this task, you must have been granted the following permissions\n*or* the following IAM roles.\n\n**Permissions**\n\n- `compute.routes.list`\n\n**Roles**\n\nTo find predefined roles that contain those permissions, see [Compute Engine IAM roles and permissions](/compute/docs/access/iam).\n\nList and describe routes in a VPC spoke\n---------------------------------------\n\nYou can use the Google Cloud CLI or the API to list and view details about the\nfollowing types of routes:\n\n- [System-generated default routes](/vpc/docs/routes#routingpacketsinternet)\n- [Subnet routes](/vpc/docs/routes#subnet-routes)\n- [Peering subnet routes](/vpc/docs/routes#peering-subnet-routes)\n- [Network Connectivity Center subnet routes](/vpc/docs/routes#ncc-subnet-routes)\n- [Static routes](/vpc/docs/static-routes)\n\nNeither the gcloud CLI commands nor the API methods show the\nfollowing types of routes:\n\n- [Policy-based routes](/vpc/docs/routes#policy-based_routes)\n- [Dynamic routes](/vpc/docs/routes#dynamic_routes)\n- [Peering static and dynamic routes](/vpc/docs/routes#peering-custom-routes)\n\nTo see the complete route view, use the Google Cloud console. To list and\ndescribe policy-based routes, see [Use policy-based\nroutes](/vpc/docs/use-policy-based-routes). \n\n### Console\n\n1. In the Google Cloud console, go to the **Routes** page.\n\n [Go to Routes](https://console.cloud.google.com/networking/routes/list)\n2. On the **Effective routes** tab, do the following:\n\n - Choose a VPC network.\n - Choose a region.\n3. Click **View**.\n\n4. You can filter on properties including\n [route type](/vpc/docs/routes#types_of_routes), destination IP range,\n and [next hop type](/vpc/docs/routes#static-route-next-hops).\n\n5. Optional: Click the **Show suppressed routes** toggle to the on\n position to view routes that are suppressed. To view the reason why a\n route is suppressed, point to the icon in the **Status** column.\n\n### gcloud\n\nTo list and view details for [subnet routes](/vpc/docs/routes#subnet-routes)\nand [static routes](/vpc/docs/static-routes), use the [`gcloud compute\nroutes` commands](/sdk/gcloud/reference/compute/routes). These commands don't\nshow other types of routes. To see all routes, use the Google Cloud console.\n\nTo list routes, do the following: \n\n```\ngcloud compute routes list \\\n --filter=\"network=NETWORK_NAME\" \\\n --project=PROJECT_ID\n```\n\nTo get details for a route, do the following: \n\n```\ngcloud compute routes describe ROUTE_NAME \\\n --format=\"flattened()\" \\\n --project=PROJECT_ID\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eNETWORK_NAME\u003c/var\u003e: the name of the VPC network\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the project ID that contains your VPC network\n- \u003cvar translate=\"no\"\u003eROUTE_NAME\u003c/var\u003e: the name of the route\n\n### API\n\nTo list and view details for [subnet routes](/vpc/docs/routes#subnet-routes)\nand [static routes](/vpc/docs/static-routes), use the\n[routes.list](/compute/docs/reference/rest/v1/routes/list) and\n[routes.get](/compute/docs/reference/rest/v1/routes/get) methods. These methods\ndon't show other types of routes. To see all routes, use the Google Cloud console.\n\nTo list routes, do the following: \n\n```\nGET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/global/routes?filter=network=\"NETWORK_URL\n```\n\nTo get details for a route, do the following: \n\n```\nGET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/global/routes/ROUTE_NAME\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the project ID that contains your VPC network\n- \u003cvar translate=\"no\"\u003eNETWORK_URL\u003c/var\u003e: the URL of the VPC network\n- \u003cvar translate=\"no\"\u003eROUTE_NAME\u003c/var\u003e: the name of the route\n\nWhat's next\n-----------\n\n- To create hubs and spokes, see [Work with hubs and spokes](/network-connectivity/docs/network-connectivity-center/how-to/working-with-hubs-spokes).\n- To view a list of partners whose solutions are integrated with Network Connectivity Center, see [Network Connectivity Center partners](/network-connectivity/docs/network-connectivity-center/partners).\n- To find solutions for Router appliance issues, see [Troubleshooting](/network-connectivity/docs/network-connectivity-center/support/troubleshooting#troubleshooting-ra).\n- To get details about API and `gcloud` commands, see [APIs and reference](/network-connectivity/docs/network-connectivity-center/apis)."]]