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
     
     

    peer

    Syntax

    peer 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.

    Description

    For NTP, configure the local router or switch to operate in symmetric active mode with the remote system at the specified address. In this mode, the local router or switch and the remote system can synchronize with each other. This configuration is useful in a network in which either the local router or switch or the remote system might be a better source of time.

    Options

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

    key key-number—(Optional) All packets sent to the address include authentication fields that are encrypted using the specified key number.

    Range: Any unsigned 32-bit integer

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

    version value—(Optional) Specify the NTP 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.

     
     

    Published: 2012-09-12