timesync Command

This command is used to configure the protocol used for network time synchronization.

Syntax


[no] timesync { timep | sntp | timep-or-sntp | ntp }

Options

no

Deletes all timesync configurations on the device.

timep

Updates the system clock using TIMEP.

sntp

Updates the system clock using SNTP.

timep-or-sntp

Updates the system clock using TIMEP or SNTP (default).

ntp

Updates the system clock using NTP

Example

switch(config)# timesync
sntp                  Update the system clock using SNTP.
timep                 Update the system clock using TIMEP.
timep-or-sntp         Update the system clock using TIMEP or SNTP.
ntp                   Update the system clock using NTP.