Specify the address of the remote system. You must specify an address, not a hostname.
To include an authentication key in all messages sent to the remote system, include the
key
option. The key corresponds to the key number you specify in the
authentication-key
statement, as described in
“Configuring NTP Authentication Keys” on page 18
.
By default, the router or switch sends NTP version 4 packets to the remote system. To
set the NTP version level to 1, 2 or 3, include the
version
option.
If you configure more than one remote system, you can mark one system preferred by
including the
prefer
option:
peer
address <key key-number> <version value> prefer;
Configuring the Router or Switch to Operate in Broadcast Mode
To configure the local router or switch to operate in broadcast mode, include the
broadcast
statement at the
[edit system ntp]
hierarchy level:
[edit system ntp]
broadcast
address <key key-number> <version value> <ttl value>;
Specify the broadcast address on one of the local networks or a multicast address
assigned to NTP. You must specify an address, not a hostname. If the multicast address
is used, it must be
224.0.1.1
.
To include an authentication key in all messages sent to the remote system, include the
key
option. The key corresponds to the key number you specify in the
authentication-key
statement, as described in
“Configuring NTP Authentication Keys” on page 18
.
By default, the router or switch sends NTP version 4 packets to the remote system. To
set the NTP version level to 1, 2, or 3, include the
version
option.
Configuring the Router or Switch to Operate in Server Mode
In server mode, the router or switch acts as an NTP server for clients when the clients are
configured appropriately. The only prerequisite for “ server mode” is that the router or
switch must be receiving time from another NTP peer or server. No other configuration
is necessary on the router or switch.
To configure the local router or switch to operate as an NTP server, include the following
statements at the
[edit system ntp]
hierarchy level:
[edit system ntp]
authentication-key
key-number type type value password;
server
address <key key-number> <version value> <prefer>;
trusted-key [ key-numbers ];
Specify the address of the system acting as the time server. You must specify an address,
not a hostname.
To include an authentication key in all messages sent to the time server, include the
key
option. The key corresponds to the key number you specify in the
authentication-key
statement, as described in
“Configuring NTP Authentication Keys” on page 18
.
Copyright © 2014, Juniper Networks, Inc.
16
Time Management Administration Guide for Routing Devices
Содержание 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...