Objective
System time configuration is of great importance in a network. Synchronized system clocks provide a frame of reference between all devices on the network. Network time synchronization is critical because every aspect of managing, securing, planning, and debugging a network involves determining when events occur. Without synchronized clocks, accurately correlating log files between devices when tracking security breaches or network usage is impossible.
Synchronized time also reduces confusion in shared file systems, as it is important for the modification times to be consistent, regardless of the machine on which the file systems reside.
The Cisco Small Business Switches support Simple Network Time Protocol (SNTP) and when enabled, the switch dynamically synchronizes the device time with time from an SNTP server. The switch operates only as an SNTP client, and cannot provide time services to other devices.
This article provides instructions on how to configure the system time settings on your switch.
Applicable Devices
- Sx250 Series
- Sx300 Series
- Sx350 Series
- SG350X Series
- Sx500 Series
- Sx550X Series
Software Version
- 1.4.7.05 — Sx300, Sx500
- 2.2.8.04 — Sx250, Sx350, SG350X, Sx550X
Configure System Time Settings on your Switch
Access the System Time Page
The System Time page of the web-based utility provides ways to configure system time, time zone, and Daylight Saving Time (DST).
Step 1. Log in to the web-based utility of your switch then choose Administration > Time Settings > System Time.
Note: In this example, SG350X-48MP switch is used.
The following fields are displayed:
- Actual Time (From SNTP Server) — System time on the device. This shows the Dynamic Host Configuration Protocol (DHCP) time zone or the acronym for the user-defined time zone if these were defined.
- Last Synchronized Server — Address, stratum and type of the SNTP server from which system time was last taken.
Step 2. Choose your preferred system time configuration:
- Automatic Settings — If this is enabled, the system time is obtained from an SNTP server.
- Manual Settings — Set the date and time manually. The local time is used when there is no alternate source of time, such as an SNTP server.
Configure Automatic Time Settings
Important: Before configuring this feature, you must first configure a connection to an SNTP server. To learn how, click here for instructions.
Note: You may also enforce authentication of the SNTP sessions. For instructions on how to configure this feature, click here.
Step 1. In the Main Clock Source (SNTP Servers) area under Clock Source Settings, check the Enable check box to dynamically synchronize the switch time with time from an SNTP server.
Note: This option is checked by default.
Step 2. (Optional) In the Alternate Clock Source (PC via active HTTP/HTTPS sessions) area, check the Enable check box to set the date and time from the configuring computer using Hypertext Transfer Protocol (HTTP).
Step 3. Click Apply.
Step 4. (Optional) Click Save to save settings to the startup configuration file.
You should now have successfully configured the automatic system time settings of your switch.
Configure Manual Time Settings
Step 1. In the Main Clock Source (SNTP Servers) area under Clock Source Settings, uncheck the Enable check box to allow manual configuration of time settings.
Step 2. (Optional) In the Alternate Clock Source (PC via active HTTP/HTTPS sessions) area, check the Enable check box to set the date and time from the configuring computer using Hypertext Transfer Protocol (HTTP).
Note: In this example, this option is left unchecked.
Step 3. In the Manual Settings area, enter the current date in the Date field in YYYY-MMM-DD format.
Note: Clicking the here link in the sentence above the Date field automatically obtains time settings stored on your computer. If this option is clicked, skip to Step 5.
Note: In this example, 2017-Mar-08 is used.
Step 4. In the Local Time field, enter the time in the HH:MM:SS format.
Note: In this example, 14:45:13 is used.
Step 5. (Optional) Under the Time Zone Settings area, check the Get Time Zone from DHCP to enable dynamic configuration of the time zone and the DST from the DHCP server. Whether one or both of these parameters can be configured depends on the information found in the DHCP packet. If this option is enabled, DHCP client must be enabled on the device.
Note: The DHCP Client supports Option 100 providing dynamic time zone setting. Enabling this feature will reset Manual Settings entered in Steps 3 and 4. If you enabled this feature, skip to Step 8.
Note: In this example, this option is left unchecked.
The Time Zone from DHCP area displays the acronym of the time zone configured from the DHCP server. This acronym appears in the Actual area.
Step 6. Choose the time zone offset from the Time Zone Offset drop-down list.
Note: In this example, UTC is chosen.
Step 7. Enter the time zone acronym next to the Time Zone Acronym field.
Note: In this example, PST or Pacific Standard Time is used.
Step 8. In the Daylight Savings Settings area, check the Enable check box to enable automatic adjustment of the current time for Daylight Saving Time.
Step 9. In the Time Set Offset field, enter the number of minutes offset from GMT ranging from 1 to 1440. The default value is 60.
Step 10. In the Daylight Savings Type area, choose the Daylight Savings Type that you want to implement.
The options are:
- USA — Daylight Savings Time (DST) is set according to the dates used in the USA.
- European — DST is set according to the dates used by the European Union and other countries that use this standard.
- By dates — DST is set manually, typically for a country other than the USA or a European country. Enter the parameters described below. If this option is chosen, skip to Step 11.
- Recurring — DST occurs on the same date every year. If this option is chosen, skip to Step 12.
Note: In this example, USA is chosen.
Step 11. (Optional) If By dates was chosen, enter the time and date for which Daylight Savings takes place.
- From — Day and time that DST starts.
- To — Day and time that DST ends.
Note: In this example, DST starts at 02:00 of March 1, 2017 and ends at 01:00 of March 1, 2018.
Step 12. (Optional) If Recurring was chosen, enter the appropriate information in the highlighted From and To fields.
- From — Chooses the date which DST begins each year.
- Day — Day of the week when DST begins every year.
- Week — Week within the month when DST begins every year.
- Month — Month of the year when DST begins every year.
- Time — Time when DST begins every year.
- To — Date when DST ends each year.
- Day — Day of the week when DST ends every year.
- Week — Week within the month when DST ends every year.
- Month — Month of the year when DST ends every year.
- Time — Time when DST ends every year.
Note: In this example, DST starts every second Sunday of March at 02:00 and ends every first Sunday of October at 02:00.
Step 13. Click Apply to save the settings.
Step 14. (Optional) Click Save to save the settings to the startup configuration file.
You should now have successfully configured the manual system time settings of your switch.
Revision History
Revision | Publish Date | Comments |
---|---|---|
1.0 | 13-Dec-2018 | Initial Release |