--- title: "getRouteList" slug: "cli-vpc-routetable-getroutelist" tags: ["VPC"] updated: 2026-10-08T05:06:14Z published: 2026-10-08T05:06:14Z canonical: "cli.ncloud-docs.com/cli-vpc-routetable-getroutelist" --- > ## Documentation Index > Fetch the complete documentation index at: https://cli.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # getRouteList Available in VPC Get the list of routes set in a route table. ## Syntax The `getRouteList` syntax is as follows: ``` ./ncloud vpc getRouteList \ --vpcNo \ --routeTableNo \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getRouteList`. ### Required options The following options are required for `getRouteList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--vpcNo` | String | Required | VPC number - See [getVpcList](/docs/en/cli-vpc-vpcmanagement-getvpclist). | | `--routeTableNo` | String | Required | Route table number - See [getRouteTableList](/docs/en/cli-vpc-routetable-getroutetablelist). | ### Common options For information about the options common to all `vpc` subcommands, see [VPC options](/docs/en/cli-vpc#%EC%98%B5%EC%85%98). ## Examples If the request to retrieve the route list is successful, the configuration information for each route is returned. ### Command The command example is as follows: ``` ./ncloud vpc getRouteList \ --vpcNo 12345678 \ --routeTableNo 45678901 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getRouteListResponse": { "totalRows": 2, "routeList": [ { "destinationCidrBlock": "0.0.0.0/0", "targetName": "INTERNET GATEWAY", "routeTableNo": "45678901", "targetType": { "code": "IGW", "codeName": "Internet Gateway" }, "targetNo": "", "isDefault": false }, { "destinationCidrBlock": "10.0.0.0/16", "targetName": "LOCAL", "routeTableNo": "45678901", "targetType": { "code": "LOCAL", "codeName": "Local" }, "targetNo": "", "isDefault": true } ], "requestId": "e5f6a7b8-c9d0-1234-efab-567890123456", "returnCode": "0", "returnMessage": "success" } } ```