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.

system time-zone <zone>

Sets the time zone for the local system clock.

set system time-zone zone
delete system time-zone
show system time-zone

The default time zone is Greenwich mean time (GMT).

zone
A time zone in the format of region/location; for example, US/PacificNote that both region and location are case sensitive. Use command completion (that is, the <Tab> key) to display available time zones.

Configuration mode


system {
    time-zone zone
}

Use this command to set the time zone for the local system clock. To set the time, you specify a region and location. Use command completion (that is, the <Tab> key) to display time zones that are available.

In addition to the wide range of time zones available, backward compatibility is achieved by using Etc/<offset> and SystemV/<offset> as region/location. Note that Etc/<offset> uses Posix-style offsets. These offsets use plus signs (+) to indicate west of Greenwich rather than east of Greenwich as many systems do. For example, Etc/GMT+8 corresponds to 8 hours behind UTC (that is, west of Greenwich).

Use the set form of this command to set the time zone for the first time or to change the time zone setting.

Use the delete form of this command to remove the time zone setting. This command restores the time zone to the default (GMT).

Use the show form of this command to view the time zone.