54.8. 라우터 세트
라우터 속성 설정
사용법:
openstack router set [-h] [--name <name>] [--description <description>]
[--enable | --disable]
[--distributed | --centralized]
[--route destination=<subnet>,gateway=<ip-address>]
[--no-route] [--ha | --no-ha]
[--external-gateway <network>]
[--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
[--enable-snat | --disable-snat] [--tag <tag>]
[--no-tag]
<router>
| 값 | 요약 |
|---|---|
| <router> | 이름 또는 ID를 수정하는 라우터 |
| 값 | 요약 |
|---|---|
| --description <description> | 라우터 설명 설정 |
| --distributed | 라우터를 분산 모드로 설정합니다(비활성화된 라우터만 해당) |
| --route destination=<subnet>,gateway=<ip-address> | 라우터 대상과 연결된 경로: 대상 서브넷(CIDR 표기법 내) 게이트웨이: nexthop IP address (repeat 옵션 to set multiple routes) |
| --no-ha | 라우터의 명확한 고가용성 속성 (비활성화d 라우터만 해당) |
| --enable | 라우터 활성화 |
| --no-tag | 라우터와 연결된 태그를 지웁니다. --tag와 --no-tag를 모두 지정하여 현재 태그를 덮어씁니다. |
| --name <name> | 라우터 이름 설정 |
| --ha | 라우터를 고가용성으로 설정합니다(비활성화된 라우터만 해당) |
| --tag <tag> | 라우터에 추가할 태그(여러 태그를 설정하는 반복 옵션) |
| --centralized | 라우터를 중앙 집중식 모드로 설정합니다(비활성화된 라우터만 해당) |
| --disable-snat | 외부 게이트웨이에서 소스 nat 비활성화 |
| --external-gateway <network> | 라우터의 게이트웨이(이름 또는 ID)로 사용되는 외부 네트워크 |
| --fixed-ip subnet=<subnet>,ip-address=<ip-address> | 외부 게이트웨이에서 필요한 ip 및/또는 서브넷(이름 또는 id): subnet=<subnet>,ip-address=<ip-address> (여러 고정 IP 주소를 설정하기 위한 옵션) |
| --no-route | 라우터와 연결된 명확한 경로를 지정합니다. 경로의 현재 값을 덮어쓰려면 --route 및 --no-route를 모두 지정합니다. |
| -h, --help | 이 도움말 메시지를 표시하고 종료합니다. |
| --disable | 라우터 비활성화 |
| --enable-snat | 외부 게이트웨이에서 소스 nat 활성화 |