To configure the local router to operate in symmetric active mode, include the peer statement at the [edit system ntp] hierarchy level:
- [edit system ntp]
-
peer address <key key-number> <version value> <prefer>;
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.
By default, the router 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;