# ntp server

#### Syntax

ntp server ipAddress [ version number ] [ prefer ]
[ source interfaceType interfaceSpecifier ]

no ntp server ipAddress

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies an NTP server for time synchronization. The source option for this command overrides the ntp source command. The no version terminates NTP communications between this server and the interface.

#### Options

- ipAddress—IP address of the NTP server
- number—Value from 1 to 4; indicates the version of the NTP software on the server
- prefer—Indicates that this server is the first choice for time synchronization
- source—Directs responses from the NTP server to a specific interface on the router; overrides the ntp source command
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers

#### Mode

Global Configuration