ip sntp client
This command enables the SNTP client to synchronize time with the server.
The use of a negative form (no) of the command disables SNTP client.
Syntax
[no] ip sntp client
Parameters
The command contains no arguments.
Command mode
CONFIG
Example
ma4000(config)# ip sntp client
ip sntp poll-period
This command sets the synchronization period with the SNTP server.
The use of a negative form (no) of the command sets the default synchronization period with the SNTP server.
Syntax
ip sntp poll-period <PERIOD>
no ip sntp poll-period
Parameters
<PERIOD> – synchronization period, may take values [10 … 1440] minutes.
Default value
300 minutes
Command mode
CONFIG
Example
ma4000(config)# ip sntp poll-period 500
ip sntp server
This command sets the IP address or host name of the SNTP server for synchronization.
The use of a negative form (no) of the command deletes the IP address or host name of the SNTP server.
Syntax
[no] ip sntp server <HOST>
Parameters
<HOST> – IP address/SNTP server hostname.
Command mode
CONFIG
Example
ma4000(config)# ip sntp server