ntpserver

This context in the CLI configures FlexSwitch to use one or more NTP servers.

Usage

localhost(config)#ntpserver 0.north-america.pool.ntp.org
localhost(config-ntpserver)#

Settings

Context Description
maxpoll 3-17 Maxpoll setting for the NTP server in seconds as a power of two. Default: 10
minpoll 3-17 Minpoll setting for the NTP server in seconds as a power of two. Default: 6
sourceintf Interface on which the source IP is configured. Default: ma1

Available Commands

Command Purpose
ntpserver <string> Set the IP address or FQDN of the NTP server.
maxpoll <integer> Specify the maximum NTP server poll interval in seconds, expressed as two raised to the power of the variable (2maxpoll).
minpoll <integer> Specify the minimum NTP server poll interval in seconds, expressed as two raised to the power of the variable (2minpoll).
sourceintf <string>

Example

Commands:

localhost(config)#ntpserver 0.us.pool.ntp.org
localhost(config-ntpserver)#maxpoll 8
localhost(config-ntpserver)#minpoll 4
localhost(config-ntpserver)#sourceintf ma1
localhost(config-ntpserver)#apply

Response:

Applying Config:
id: 1   object: NtpServer   status: APPLIED CONFIG  valid: True delete: False num user cmds: 4
 command                        attr          value                model attr    iskey    required    userprov    time provisioned         
-------------------------------------------------------------------------------------------------------------------------------------------
 ntpserver 0.us.pool.ntp.org    ntpserver     0.us.pool.ntp.org    IpAddr        True     X           X           Fri Sep  8 10:48:29 2017 
 maxpoll 8                      maxpoll       8                    MaxPoll       False                X           Fri Sep  8 10:48:36 2017 
 minpoll 4                      minpoll       4                    MinPoll       False                X           Fri Sep  8 10:48:40 2017 
 sourceintf ma1                 sourceintf    ma1                  SourceIntf    False                X           Fri Sep  8 10:48:46 2017 

sdk:createNtpServer(0.us.pool.ntp.org,MinPoll=4,MaxPoll=8,SourceIntf=ma1) result: SUCCESS: http status code: 201