Use this command to add a server from which the SNTP client will retrieve the current time when operating in unicast mode. Up to 10 servers can be set as SNTP servers.
ip-address | hostname | Specifies the SNTP server‘s IPv4 or IPv6 address or hostname. |
precedence | (Optional) Specifies this SNTP server‘s precedence in relation to its peers. Valid values are 1 (highest) to 10 (lowest). |
key key-instance | (Optional) Specifies the authentication instance used by the client when requesting synchronization with the specified server. |
All command modes.
This example shows how to set the server at IP address 10.21.1.100 as an SNTP server and to SNTP authenticate using authentication key instance 1:
System(rw)->set sntp server 10.21.1.100 key 1