To configure routers and switches to synchronize their clocks with an NTP (Network Time Protocol) server, you would use the command:
ntp server ip_address version number
This command specifies the IP address of the NTP server and optionally allows you to specify the version of NTP you want to use.
So, the correct answer is:
ntp server ip_address version number