--- title: "createEndpointRouteTable" slug: "cli-vpc-createendpointroutetable" updated: 2026-11-24T09:23:45Z published: 2026-11-24T09:23:45Z canonical: "cli.ncloud-docs.com/cli-vpc-createendpointroutetable" --- > ## 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. # createEndpointRouteTable VPC 환경에서 이용 가능합니다. 사용자가 지정한 조건에 따라 Endpoint Route Table을 생성합니다. ## 구문 `createEndpointRouteTable` 구문은 다음과 같습니다. ``` ./ncloud vpc createEndpointRouteTable \ --vpcNo \ --endpointRouteTableTypeCode \ [--endpointRouteTableName ] \ [--endpointRouteTableDescription ] \ [--regionCode ] \ [--output ] ``` ## 옵션 `createEndpointRouteTable` 실행 시 지정할 수 있는 옵션을 설명합니다. ### 필수 옵션 `createEndpointRouteTable`의 필수 옵션입니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--vpcNo` | String | Required | VPC 번호 - [getVpcList](/docs/cli-vpc-vpcmanagement-getvpclist) 참조 | | `--endpointRouteTableTypeCode` | String | Required | Endpoint Route Table 유형 - `IGW` \| `VGW` \| `TRANSITVPCCONNECT` \| `POGW` \| `OGW` \| `NATGW` - `IGW`: Internet Gateway - `VGW`: Virtual Private Gateway - `TRANSITVPCCONNECT`: Transit VPC Connect - `POGW`: Public Onpremise Gateway - `OGW`: Onpremise Gateway - `NATGW`: NAT Gateway - 회원 및 리전별로 사용 가능한 유형만 지정 가능 | ### 선택 옵션 `createEndpointRouteTable`의 선택 옵션입니다. 지정하지 않은 옵션에는 기본값이 적용됩니다. | 옵션 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `--endpointRouteTableName` | String | Optional | Endpoint Route Table 이름 - 영문 소문자, 숫자, 특수문자 `-`를 조합하여 3~30자 이내로 입력 - 문자열은 영문자로 시작해서 영문자 또는 숫자로 끝나야 함 - 미입력 시 네이버 클라우드 플랫폼이 자동으로 부여 | | `--endpointRouteTableDescription` | String | Optional | Endpoint Route Table에 대한 설명 (Byte) - 0~1,000 | ### 공통 옵션 `vpc` 명령에서 공통으로 사용하는 옵션에 대한 정보는 [VPC 옵션](/docs/cli-vpc#%EC%98%B5%EC%85%98)을 참조해 주십시오. ## 예시 Endpoint Route Table 생성 요청이 성공하면 Endpoint Route Table의 구성 정보와 생성 상태가 반환됩니다. ### 명령 명령 예시는 다음과 같습니다. ``` ./ncloud vpc createEndpointRouteTable \ --vpcNo 23456789 \ --endpointRouteTableTypeCode TRANSITVPCCONNECT \ --endpointRouteTableName test-endpoint-route-table \ --endpointRouteTableDescription "Test endpoint route table" \ --regionCode KR \ --output json ``` ### 출력 출력 예시는 다음과 같습니다. ``` { "createEndpointRouteTableResponse": { "totalRows": 1, "endpointRouteTableList": [ { "endpointRouteTableNo": "45678901", "endpointRouteTableName": "test-endpoint-route-table", "regionCode": "KR", "vpcNo": "23456789", "vpcName": "test-transit-vpc", "endpointRouteTableType": { "code": "TRANSITVPCCONNECT", "codeName": "Transit VPC Connect" }, "endpointRouteTableStatus": { "code": "SET", "codeName": "설정중" }, "endpointRouteTableDescription": "Test endpoint route table", "associationList": [], "routeList": [] } ], "requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890", "returnCode": "0", "returnMessage": "success" } } ```