Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

poweroff

Powers off the system.

poweroff [ at time | cancel | now ]
at time
The time at which the system is scheduled to be powered off. Set the date, time, or both directly using one of the following formats:
  • hh:mm
  • MMDDYY
  • “hh:mm MMDDYY”
  • +mm

Note that the hour field (hh) uses the 24-hour clock (for example, 3:00 PM is represented as 15 in the hour field).

cancel
Cancels a previously scheduled power-off event.
now
Powers off the system without asking for confirmation.

Operational mode

Use this command to power off the system.

Before the system powers off, a message is broadcast to all logged-in users warning them of the power-off event.

Only users with administrative (admin)-level permission can run this command.

The following example shows how to power off the system.

vyatta@R1:~$ poweroff
Proceed with poweroff? (Yes/No) [No] y
Broadcast message from root@R1 (tty1) (Mon Dec 17 17:52:37 2012):
The system is going DOWN for system halt NOW!

The following example shows how to power off the system at the current time on the specific date of December 11, 2012.

vyatta@R1:~$ poweroff at 121112
vyatta@R1:~$

                

The following example shows how to cancel a scheduled power-off event.

vyatta@R1:~$ poweroff cancel
vyatta@R1:~$