request system halt
구문
request system halt <at time> <backup-routing-engine> <both-routing-engines> <other-routing-engine> <in minutes> <media (compact-flash | disk | removable-compact-flash | usb)> <message "text">
구문(EX 시리즈 스위치)
request system halt <all-members> <at time> <backup-routing-engine> <both-routing-engines> <in minutes> <local> <media (external | internal)> <member member-id> <message "text"> <other-routing-engine> <slice slice>
구문(PTX 시리즈)
request system halt <at time> <backup-routing-engine> <both-routing-engines> <other-routing-engine> <in minutes> <media (compact-flash | disk)> <message "text">
구문(MX 시리즈 라우터)
request system halt <all-members> <at time> <backup-routing-engine> <both-routing-engines> <in minutes> <local> <media (external | internal)> <member member-id> <message "text"> <other-routing-engine>
구문(QFX 시리즈)
request system halt <all-members> <at time> <both-routing-engines> <director-device director-device-id> <in minutes> <local> <media > <member member-id> <message "text"> <other-routing-engine> <slice slice>
구문(SRX 시리즈)
request system halt <at time> <in minutes> <media (compact-flash | disk | usb)> <message "text">
설명
장치 소프트웨어를 중지합니다.
QFabric 시스템의 개별 구성 요소(예: 노드 디바이스)에 대해 이 명령을 실행하면 "하드웨어 기반 멤버가 중단되고 가상 Junos 라우팅 엔진이 재부팅됩니다"라는 경고가 표시됩니다. 노드 그룹의 한 멤버만 중단하려면 QFabric CLI에서 이 명령을 실행할 수 없으므로 노드 디바이스 CLI에서 옵션과 함께 member
이 명령을 실행합니다. 또한 이 명령을 실행하면 개별 구성 요소에서 트래픽 손실이 발생할 수 있습니다.
QFX5100 스위치에서 이 명령을 실행하면 재부팅하라는 메시지가 표시되지 않습니다. 재부팅하려면 스위치의 전원을 껐다 켜야 합니다.
라우팅 엔진 RE-S-2x00x6, RE-PTX-2x00x8 및 RE-S-2x00x8이 있는 라우터의 경우 이 명령은 더 이상 사용되지 않으며 향후 릴리스에서 완전히 제거될 수 있습니다.
이러한 라우터에서 이 명령은 유사한 기능을 제공하는 명령으로 request vmhost halt
대체됩니다.
옵션
none | 라우터 또는 스위치 소프트웨어를 즉시 중지합니다. |
all-members | (선택 사항) Virtual Chassis 구성의 모든 구성원을 중단합니다. |
at time | (선택 사항) 소프트웨어를 중지할 시간으로, 다음 방법 중 하나로 지정됩니다.
|
backup-routing-engine | (선택 사항) 백업 라우팅 엔진을 중단합니다. 이 명령은 명령이 실행되는 라우팅 엔진에 관계없이 백업 라우팅 엔진을 중단합니다. 예를 들어, 기본 라우팅 엔진에서 명령을 실행하면 백업 라우팅 엔진이 중단됩니다. 백업 라우팅 엔진에서 명령을 실행하면 백업 라우팅 엔진이 중단됩니다. |
both-routing-engines | (선택 사항) 두 라우팅 엔진을 동시에 중단합니다. |
director-device director-device-id | (QFabric 시스템만 해당) 특정 디렉터 디바이스를 중지합니다. |
local | (선택 사항) 로컬 Virtual Chassis 멤버를 중지합니다. |
in minutes | (선택 사항) 지금부터 소프트웨어를 중지할 때까지(분) 시간입니다. 이 옵션은 at +minutes 옵션의 별칭입니다. |
media (compact-flash | disk) | (선택 사항) 다음 부팅을 위한 부팅 미디어입니다. |
media (external | internal) | (EX 시리즈 및 QFX 시리즈 스위치와 MX 시리즈 라우터만 해당) (선택 사항) 부트 미디어를 중지합니다.
|
media (compact-flash | disk | usb) | (SRX 시리즈만 해당) (선택 사항) 다음 부팅을 위한 부트 미디어입니다.
|
member member-id | (선택 사항) Virtual Chassis 구성의 지정된 멤버를 중단합니다. MX 시리즈 Virtual Chassis |
message "text" | (선택 사항) 소프트웨어를 중지하기 전에 모든 시스템 사용자에게 표시할 메시지입니다. |
other-routing-engine | (선택 사항) 명령이 내려진 다른 라우팅 엔진을 중단합니다. 예를 들어, 기본 라우팅 엔진에서 명령을 실행하면 백업 라우팅 엔진이 중단됩니다. 마찬가지로 백업 라우팅 엔진에서 명령을 실행하면 기본 라우팅 엔진이 중단됩니다. |
slice slice | (EX 시리즈 및 QFX 시리즈 스위치만 해당) (선택 사항) 부팅 미디어에서 파티션을 중지합니다. 이 옵션에는 다음과 같은 하위 옵션이 있습니다.
|
추가 정보
M7i 라우터 request system halt
에서 명령은 패킷 전달 엔진의 전원을 즉시 끄지 않습니다. 전원 끄기 프로세스는 최대 5분이 소요될 수 있습니다.
필요한 권한 수준
유지 관리
출력 필드
이 명령을 입력하면 요청 상태에 대한 피드백이 제공됩니다.
샘플 출력
시스템 정지 요청
user@host> request system halt Halt the system ? [yes,no] (no) yes *** FINAL System shutdown message from root@section2 *** System going down IMMEDIATELY Terminated ... syncing disks... 11 8 done The operating system has halted. Please press any key to reboot.
시스템 중단 요청(SRX 시리즈)
user@host> request system halt Halt the system ? [yes,no] (no) yes *** FINAL System shutdown message from user@host *** System going down IMMEDIATELY Shutdown NOW! [pid 7560] user@host> Dec 8 08:57:37 Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `vnlru_mem' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 done syncing disks... All buffers synced. Uptime: 2d16h25m9s recorded reboot as normal shutdown The operating system has halted. Please press any key to reboot.
시스템 정지 요청(2시간 이내)
시간이 오후 5시(1700)라고 가정하는 다음 예제에서는 지금부터 2시간 후에 시스템을 중지하도록 요청하는 세 가지 방법을 보여 줍니다.
user@host> request system halt at +120 user@host> request system halt in 120 user@host> request system halt at 19:00
시스템 중지 요청(즉시)
user@host> request system halt at now
시스템 중지 요청(오전 1시 20분)
오전 1시 20분에 시스템을 중지하려면 다음 명령을 입력합니다. 오전 1시 20분은 다음 날이므로 절대 시간을 지정해야 합니다.
user@host> request system halt at yymmdd120 request system halt at 120 Halt the system at 120? [yes,no] (no) yes
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.
other-routing-engine
Junos OS 릴리스 8.0에서 소개된 옵션.
director-device
Junos OS 릴리스 12.2의 QFabric 시스템용 옵션이 소개되었습니다.
backup-routing-engine
Junos OS 릴리스 13.1 버전에 소개된 옵션.