To enable SNTP on your switch using the CLI, enter the following command in Configure mode:
(configure)# sntp server <ip-address>