Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Synchronizing Time Using NTP

date_range 24-Nov-23

You can synchronize time on the following components of the NFX platform using Network Time Protocol (NTP):

  • Junos Control Plane (JCP) - JCP runs the NTP server, and synchronizes time using the external NTP servers that are configured. JCP acts as the NTP server for the host.

  • Host (hypervisor) - The host runs the NTP server and client, and synchronizes time using the Junos Control Plane (JCP) NTP server through JDM. The host, in turn, acts as the NTP server for the virtual network functions (VNFs).

  • VNF - This is optional. VNFs run the NTP client, and synchronize the time using either JCP, hypervisor, or any external server that is configured.

To set the date and time using NTP:

  1. Configure the NTP server and set the date on JCP:
    content_copy zoom_out_map
    root# set system ntp server <ip-address> 
    root# exit
    root> set date ntp

    Commit the configuration.

  2. Once the NTP server has been configured on JCP, you can set the date and time on the host using JDM:
    content_copy zoom_out_map
    root@jdm> set date ntp
  3. (Optional) Set the local time zone to match the location of the device and to present the time in the correct local format. Universal Coordinated Time (UTC) is the default. Many administrators prefer to keep all their devices configured to use the UTC time zone. This approach has the benefit of allowing you to easily compare the time stamps of logs and other events across a network of devices in many different time zones.
    content_copy zoom_out_map
    root@jdm# set time zone time-zone
Note:

If the VNFs are not running the NTP clients, reboot the system to synchronize the date and time on all VNFs.

footer-navigation