Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    server (NTP)

    Syntax

    server address <key key-number> <version value> <prefer>;

    Hierarchy Level

    [edit system ntp]

    Release Information

    Statement introduced in Junos OS Release 11.1 for the QFX Series.

    Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

    Description

    For NTP, configure the switch to operate in client mode with the remote system at the specified server address. In this mode, the local switch can be synchronized with the remote system, but the remote system can never be synchronized with the local switch.

    Options

    address—Address of the remote system. You must specify an address, not a hostname.

    key key-number—(Optional) Use the specified key number to encrypt authentication fields in all packets sent to the specified address.

    Range: Any unsigned 32-bit integer

    prefer—(Optional) Mark the remote system as preferred host, which means that if all other things are equal, this remote system is chosen for synchronization among a set of correctly operating systems.

    version value—(Optional) Specify the version number to be used in outgoing NTP packets.

    Range: 1 through 4

    Default: 4

    Required Privilege Level

    system—To view this statement in the configuration.

    system-control—To add this statement to the configuration.

    Modified: 2015-02-11