API Guide

Supported
Releases
10.3.0E or later
show clock
Displays the current system clock settings.
Syntax
show clock
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
The universal time coordinated (UTC) value is the number of hours that your time zone is later or earlier
than UTC/Greenwich mean time.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
Example
OS10# show clock
2017-01-25T11:00:31.68-08:00
Supported
Releases
10.2.1E or later
show clock timezone
Displays the time zone that is configured in the system.
Syntax
show clock timezone
Parameters None
Default Etc/UTC
Command Mode EXEC
Usage
Information
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.5.0.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
Example
OS10# show clock timezone
Brazil/West (-04, -0400)
Supported
Releases
10.5.0 or later
Network Time Protocol
Network Time Protocol (NTP) synchronizes timekeeping among a set of distributed time servers and clients. The protocol
coordinates time distribution in a large, diverse network. NTP clients synchronize with NTP servers that provide accurate time
measurement. NTP clients choose from several NTP servers to determine which offers the best available source of time and the
most reliable transmission of information.
To get the correct time, OS10 synchronizes with a time-serving host. For the current time, you can set the system to poll
specific NTP time-serving hosts. From those time-serving hosts, the system chooses one NTP host to synchronize with and
acts as a client to the NTP host. After the host-client relationship establishes, the networking device propagates the time
information throughout its local network.
The NTP client sends messages to one or more servers and processes the replies as received. Information in the NTP message
allows each client/server peer to determine the timekeeping characteristics of its other peers, including the expected accuracies
System management
193