EOS provides NTS as an optional feature for both client and server modes and disables it by default. To enable it, you must provide a valid SSL profile for the configuration. See insert link to Control Plane Security.
Configuring a Client Connection to an NTP Server
The ntp server command configures a persistent association with a remote server. When specifying an SSL profile with the configuration, the remote server must support NTS.
Note: If the remote server does not support NTS, then synchronization between the switch and server cannot occur on the network.
To specify the SSL profile, use the parameter, ssl profile profile_name and add the profile to the configuration. You must have a configured trust certificate configured for the profile.
Use the following commands to establish an SSL profile, nts_profile, with a certificate, CaCert, and using TLS version 1.3:
switch(config)# mangement security
switch(config-mgmt-security)# ssl profile nts_profile
switch(config-mgmt-sec-ssl-profile-nts_profile)# trust certificate CaCert
switch(config-mgmt-sec-ssl-profile-nts_profile)# tls versions 1.3
switch(config-mgmt-sec-ssl-profile-nts_profile)# ntp server mycompany.com ssl profile nts_profile
Configuring the Switch as an NTP Server
EOS enables an NTP server for all interfaces on the switch using the ntp serve all command, or for individual interfaces by applying the ntp serve command in the Interface Configuration Mode. For both types of server configuration, enable NTS using an SSL profile and applying the command, ntp serve ssl profile profile_name.
switch(config)# management security
switch(config-mgmt-security)# ssl profile nts_profile
switch(config-mgmt-sec-ssl-profile-nts_profile)# certificate serverCert key serverKey
switch(config-mgmt-sec-ssl-profile-nts_profile)# tls versions 1.3
switch(config)# ntp server mycompany.com
switch(config)# ntp serve all
switch(config)# ntp serve ssl profile nts_profile