# Configuring SNTP

Use the following procedure to configure Simple Network Time Protocol (SNTP).

## About this task

You can configure the switch clock to SNTP, configure the SNTP server IP addresses, and configure the SNTP synchronization intervals.

## Procedure

1. From the navigation tree, double-click Edit.
2. In the Edit tree, click SNTP/Clock.
3. In the work area, click the Simple Network Time Protocol tab.
4. In the PrimaryServerInetAddressType field, click a radio button to select IPv4 or IPv6.
5. In the PrimaryServerInetAddress field, type the primary IP address.
6. In the SecondaryServerInetAddressType field, click a radio button to select IPv4 or IPv6.
7. In the SecondaryServerInetAddress field, type the secondary IP address.
8. In the State field, click a radio button.
9. In the SyncInterval field, type a value.
10. In the ManualSyncRequest field, click the radio button to synchronize the switch clock with the NTP server.
11. On the toolbar, click Apply.

## Variable definitions

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) disabled — the switch cannot synchronize the clock using SNTP. enabled (unicast) — the switch synchronizes to UTC on boot when network access is available, and periodically synchronizes based on the Sync Interval.
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.