Use the following procedure to configure Simple Network Time Protocol (SNTP).
You can configure the switch clock to SNTP, configure the SNTP server IP addresses, and configure the SNTP synchronization intervals.
The following table describes configuring SNTP.
Variable | Value |
---|---|
PrimaryServerInetAddressType | Specifies the IP address type of the primary SNTP server. Values include IPv4 or IPv6. |
PrimaryServerInetAddress | Specifies the IP address of the primary SNTP server. |
SecondaryServerInetAddressType | Specifies the IP address type for the secondary SNTP server. Values include IPv4 or IPv6. |
SecondaryServerInetAddress | Specifies the IP address of the secondary SNTP server. |
State | Specifies if SNTP is used to synchronize the switch clock to the Coordinated Universal Time (UTC)
|
SynchInterval | Specifies the frequency, in hours, to attempt synchronization with the NTP servers. Values range from 0 to 168. 0 indicates to synchronize only during boot. |
ManualSyncRequest | Specifies to immediately attempt a synchronization with the NTP servers. |
LastSyncTime | Indicates the last synchronization time in UTC. |
LastSyncSourceInetAddressType | Indicates the IP source address type of the NTP server during the last synchronization. |
LastSyncSourceInetAddress | Indicates the IP source address of the NTP server during the last synchronization. |
NextSyncTime | Indicates the next scheduled synchronization time in UTC. |
PrimaryServerSyncFailures | Indicates the number of times the switch failed to synchronize with the primary server address. Synchronization with the secondary server can still occur. |
SecondaryServerSyncFailures | Indicates the number of times the switch failed to synchronize with the secondary server address. |
CurrentTime | Indicates the current switch time in UTC. |