ntp master
ntp server enable
Configuration Examples
Example 1
Copyright © 2010, Juniper Networks, Inc.
Use to enable broadcast server on an interface to send NTP broadcast messages
periodically.
The server sends the NTP broadcast messages to the local network broadcast address
(255.255.255.255).
Example—In this example, the interface supports NTP software, version 4, and a poll
interval of 5 (32 seconds) for broadcasting NTP messages.
host1:boston(config-if)#ntp broadcast version 4 5
Use the no version to prevent the interface from sending NTP broadcast messages.
See ntp broadcast.
Use to specify the stratum number of a virtual router you configured as an NTP server
By default, the stratum number is set to the stratum number of the master plus one.
CAUTION: Although you can specify a stratum number of 1, the system
does not support stratum 1 service. The system can synchronize only with
an NTP server, and not directly with an atomic clock or radio clock.
Specify a stratum number for the system in the range 1 – 15. A stratum n server is n
hops from an accurate time source.
Example
host1:boston(config)#ntp master
Use the no version to restore the default stratum number.
See ntp master.
Use to enable a virtual router to act as an NTP server.
Example
host1:boston(config)#ntp server enable
Use the no version to prevent a virtual router from acting as an NTP server.
See ntp server enable.
The following examples show how to configure the system as an NTP client and an NTP
server.
NTP communications are established on the virtual router boston. The system is a client
of the NTP server with IP address 172.16.5.1.
host1#virtual-router boston
Chapter 10: Configuring the System Clock
517
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers