ntp server
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.
ntp server ipAddress [ version number ] [ prefer ]
[ source interfaceType interfaceSpecifier ]
- 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 in About This Guide
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers in About This Guide
Global Configuration