---
title: "getRouteTableList"
slug: "cli-vpc-routetable-getroutetablelist"
tags: ["Route Table"]
updated: 2026-05-21T09:02:07Z
published: 2026-05-21T09:11:37Z
canonical: "cli-gov.ncloud-docs.com/cli-vpc-routetable-getroutetablelist"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://cli-gov.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getRouteTableList

VPC 환경에서 이용 가능합니다.

## 개요

라우트 테이블 리스트를 조회합니다.

## 요청

### 요청 파라미터

| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| --- | --- | --- | --- | --- |
| regionCode | No | String |  | - 리전 코드 라우트 테이블 리스트가 조회될 리전(Region) 결정 가능 regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| routeTableNoList.N | No | List<String> |  | - 라우트 테이블 번호 리스트 라우트 테이블 번호로 필터링하여 검색 가능 routeTableNo는 [getRouteTableList](/docs/cli-vpc-routetable-getroutetablelist) 액션을 통해 획득 가능 ex) --routeTableNoList 1234 2345 |
| routeTableName | No | String |  | - 라우트 테이블 이름 라우트 테이블 이름으로 필터링하여 검색 가능 |
| supportedSubnetTypeCode | No | String |  | - 지원하는 서브넷 유형 코드 라우트 테이블이 지원하는 서브넷 유형으로 필터링하여 검색 가능 Options : PUBLIC (공인) \| PRIVATE (사설) |
| vpcNo | No | String |  | - VPC 번호 VPC 번호로 필터링하여 검색 가능 vpcNo는 [getVpcList](/docs/cli-vpc-vpcmanagement-getvpclist) 액션을 통해 획득 가능 |
| pageNo | No | Integer |  | - 페이징된 결과의 페이지 번호 결과값을 pageNo, pageSize를 이용하여 페이징 처리 가능 |
| pageSize | Conditional | Integer |  | - 페이징 시 보여줄 각 페이지 사이즈 결과값을 pageNo, pageSize를 이용하여 페이징 처리 가능 pageNo 입력시 반드시 입력함 |
| sortedBy | No | String |  | - 정렬 대상 결과값을 라우트 테이블 이름으로 정렬 가능 Options : routeTableName |
| sortingOrder | No | String |  | - 정렬 순서 sortedBy 이용시 오름차순/내림차순 정렬을 설정함 Options : ASC (오름차순) \| DESC (내림차순) Default : ASC |
| responseFormatType | No | String |  | - 응답 결과의 포맷 타입 Options : xml \| json Default : xml |

## 응답

### 응답 데이터 타입

| RouteTableList extends CommonResponse |
| --- |
| private Integer totalRows; |
| private List<routetable data-tomark-pass=""> routeTableList = new ArrayList&lt;&gt;();</routetable> |

| RouteTable |
| --- |
| private String routeTableNo; |
| private String routeTableName; |
| private String regionCode; |
| private String vpcNo; |
| private CommonCode supportedSubnetType; |
| private Boolean isDefault; |
| private CommonCode routeTableStatus; |
| private String routeTableDescription; |

## 예시

### 요청 예시

```
ncloud vpc getRouteTableList --regionCode KR --routeTableNoList 7738 --routeTableName test-table --supportedSubnetTypeCode PUBLIC --vpcNo 3804
```

### 응답 예시

```
<getRouteTableListResponse>
  <requestId>43623734-4270-463f-a269-a624cdef9154</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <routeTableList>
    <routeTable>
      <routeTableNo>7738</routeTableNo>
      <routeTableName>test-table</routeTableName>
      <regionCode>KR</regionCode>
      <vpcNo>3804</vpcNo>
      <supportedSubnetType>
        <code>PUBLIC</code>
        <codeName>Public</codeName>
      </supportedSubnetType>
      <isDefault>false</isDefault>
      <routeTableStatus>
        <code>RUN</code>
        <codeName>run</codeName>
      </routeTableStatus>
      <routeTableDescription></routeTableDescription>
    </routeTable>
  </routeTableList>
</getRouteTableListResponse>
```
