---
title: "createRouteTable "
slug: "cli-vpc-routetable-createroutetable"
updated: 2026-06-25T09:10:30Z
published: 2026-06-25T09:10:30Z
canonical: "cli-fin.ncloud-docs.com/cli-vpc-routetable-createroutetable"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://cli-fin.ncloud-docs.com/llms.txt
> Use this file to discover all available pages before exploring further.
# createRouteTable
VPC 환경에서 이용 가능합니다.
## 개요
라우트 테이블을 생성합니다.
## 요청
### 요청 파라미터
| 파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
| ---------------------------------- | ------------ | --------------------- | ------------------------- | ------------------------------------------- |
| regionCode | No | String | | - 리전 코드
라우트 테이블이 생성될 리전(Region) 결정 가능
regionCode는 [getRegionList](/docs/cli-vserver-server-common-getregionlist) 액션을 통해 획득 가능
Default : getRegionList 조회 결과의 첫 번째 리전을 선택 |
| vpcNo | Yes | String | | - VPC 번호
라우트 테이블이 생성될 VPC를 결정함
vpcNo는 [getVpcList](/docs/cli-vpc-vpcmanagement-getvpclist) 액션을 통해 획득 가능 |
| routeTableName | No | String | Min : 3, Max : 30
소문자, 숫자, "-"의 특수문자만 허용하며 알파벳 문자로 시작해야 함
영어 또는 숫자로 끝나야 함 | - 생성할 라우트 테이블 이름
Default : NAVER Cloud Platform가 자동으로 부여함 |
| supportedSubnetTypeCode | Yes | String | | - 지원하는 서브넷 유형 코드
생성할 라우트 테이블이 지원하는 서브넷 유형을 결정함
Options : PUBLIC (공인) \| PRIVATE (사설)|
| routeTableDescription | No | String | Min : 0, Max : 1000 Bytes | 생성할 라우트 테이블에 대한 설명 |
| responseFormatType | No | String | | - 응답 결과의 포맷 타입
Options : xml \| json
Default : xml |
## 응답
### 응답 데이터 타입
- RouteTableList 타입
| RouteTableList extends CommonResponse |
| ---------- |
| private Integer totalRows; |
| private List routeTableList = new ArrayList<>(); |
| 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 createRouteTable --regionCode FKR --vpcNo ***04 --routeTableName test-*** --supportedSubnetTypeCode PUBLIC
```
### 응답 예시
```xml
9f59a9dc-cddf-4580-a232-3359f088a1e8
0
success
1
***38
test-***
FKR
***04
PUBLIC
Public
false
RUN
run
```