Synchronizing and Coordinating Time Distribution Using NTP
Using NTP to synchronize and coordinate time distribution in a large network involves
these tasks:
1.
Configuring NTP on page 13
2.
Configuring the NTP Boot Server on page 13
3.
Specifying a Source Address for an NTP Server on page 13
Configuring NTP
To configure NTP on the router or switch, include the
ntp
statement at the
[edit system]
hierarchy level:
[edit system]
ntp
{
authentication-key
number type type value password;
boot-server
(address | hostname);
broadcast
<address> <key key-number> <version value> <ttl value>;
broadcast-client
;
multicast-client
<address>;
peer
address <key key-number> <version value> <prefer>;
server
address <key key-number> <version value> <prefer>;
source-address
source-address;
trusted-key [ key-numbers ];
}
Configuring the NTP Boot Server
When you boot the router or switch, it issues an
ntpdate
request, which polls a network
server to determine the local date and time. You need to configure a server that the router
or switch uses to determine the time when the router or switch boots. If you configure
an NTP boot server, then when the router or switch boots, it immediately synchronizes
with the boot server even if the NTP process is explicitly disabled or if the time difference
between the client and the boot server exceeds the threshold value of 1000 seconds.
To configure the NTP boot server, include the
boot-server
statement at the
[edit system
ntp]
hierarchy level:
[edit system ntp]
boot-server
(address | hostname);
Specify the address of the network server. You must specify an IP address or a hostname.
Specifying a Source Address for an NTP Server
For IP version 4 (IPv4), you can specify that if the NTP server configured at the
[edit system
ntp]
hierarchy level is contacted on one of the loopback interface addresses, the reply
always uses a specific source address. This is useful for controlling which source address
NTP will use to access your network when it is either responding to an NTP client request
from your network or when it itself is sending NTP requests to your network.
13
Copyright © 2014, Juniper Networks, Inc.
Chapter 2: Configuring Time
Содержание Dynabug 57810
Страница 6: ...Copyright 2014 Juniper Networks Inc vi Time Management Administration Guide for Routing Devices...
Страница 13: ...PART 1 Overview Time Management Overview on page 3 1 Copyright 2014 Juniper Networks Inc...
Страница 14: ...Copyright 2014 Juniper Networks Inc 2 Time Management Administration Guide for Routing Devices...
Страница 20: ...Copyright 2014 Juniper Networks Inc 8 Time Management Administration Guide for Routing Devices...
Страница 54: ...Copyright 2014 Juniper Networks Inc 42 Time Management Administration Guide for Routing Devices...
Страница 56: ...Copyright 2014 Juniper Networks Inc 44 Time Management Administration Guide for Routing Devices...
Страница 57: ...CHAPTER 4 Operational Commands set date 45 Copyright 2014 Juniper Networks Inc...
Страница 59: ...CHAPTER 5 Monitoring Commands show ntp associations show ntp status 47 Copyright 2014 Juniper Networks Inc...
Страница 64: ...Copyright 2014 Juniper Networks Inc 52 Time Management Administration Guide for Routing Devices...
Страница 65: ...PART 4 Index Index on page 55 53 Copyright 2014 Juniper Networks Inc...
Страница 66: ...Copyright 2014 Juniper Networks Inc 54 Time Management Administration Guide for Routing Devices...