--- title: "getRouteTableSubnetList" slug: "cli-vpc-routetable-getroutetablesubnetlist" tags: ["VPC"] updated: 2026-10-08T05:06:09Z published: 2026-10-08T05:06:09Z canonical: "cli.ncloud-docs.com/cli-vpc-routetable-getroutetablesubnetlist" --- > ## 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. # getRouteTableSubnetList Available in VPC Get the list of associated subnets set for a route table. ## Syntax The `getRouteTableSubnetList` syntax is as follows: ``` ./ncloud vpc getRouteTableSubnetList \ --routeTableNo \ [--regionCode ] \ [--output ] ``` ## Options This section describes the options available when running `getRouteTableSubnetList`. ### Required options The following options are required for `getRouteTableSubnetList`. | Options | Type | Required | Description | | --- | --- | --- | --- | | `--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 list of associated subnets is successful, the configuration information for each subnet is returned. ### Command The command example is as follows: ``` ./ncloud vpc getRouteTableSubnetList \ --routeTableNo 45678901 \ --regionCode KR \ --output json ``` ### Output The output example is as follows: ``` { "getRouteTableSubnetListResponse": { "totalRows": 2, "subnetList": [ { "subnetNo": "23456790", "vpcNo": "12345678", "zoneCode": "KR-1", "subnetName": "test-subnet-02", "subnet": "10.0.4.0/24", "subnetStatus": { "code": "RUN", "codeName": "In operation" }, "subnetType": { "code": "PUBLIC", "codeName": "Public" } }, { "subnetNo": "23456789", "vpcNo": "12345678", "zoneCode": "KR-1", "subnetName": "test-subnet-01", "subnet": "10.0.1.0/24", "subnetStatus": { "code": "RUN", "codeName": "In operation" }, "subnetType": { "code": "PUBLIC", "codeName": "Public" } } ], "requestId": "b8c9d0e1-f2a3-4567-bcde-890123456789", "returnCode": "0", "returnMessage": "success" } } ```