Synchronizing Time Using NTP
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:
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:
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.
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.
Related
Documentation
• Understanding NTP Time Servers
• Understanding Virtual Network Functions on page 105
Copyright © 2017, Juniper Networks, Inc.44
JDM User Guide for NFX250 Network Services Platform