This article provides instructions on how to configure the system time settings on your Cisco Business 250 or 350 series switch.
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.
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.
The following fields are displayed:
Step 2. Choose your preferred system time configuration:
Important: Before configuring this feature, you must first configure a connection to an SNTP server. To learn how, click here for instructions.
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.
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.
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).
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.
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.
In this example, 2021-Jan-20 is used.
Step 4. In the Local Time field, enter the time in the HH:MM:SS format.
In this example, 23:28:46 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.
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.
In this example, UTC is chosen.
Step 7. Enter the time zone acronym next to the Time Zone Acronym field.
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:
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.
In this example, DST starts at 02:00 of March 1, 2020 and ends at 01:00 of March 1, 2021.
Step 12. (Optional) If Recurring was chosen, enter the appropriate information in the highlighted From and To fields.
- 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.
- 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.
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 have now successfully configured the manual system time settings of your Cisco Business 250 or 350 series switch.
Looking for more articles on your CBS250 or CBS350 switch? Check out any of the links below for more information!
Upon configuring the DHCP time zone, check the following guidelines:
- The information received from DHCPv6 precedes information received from DHCPv4
- The information received from DHCP client running on lower interface precedes information received from DHCP client running on higher interface
To restore the default DHCP time zone configuration, enter the following:
CBS350(config)#no clock dhcp timezoneTo configure the system to automatically switch to Summer Time (DST), enter one of following:
CBS350(config)#clock summer-time [zone] recurring {usa | eu | {week day hh:mm week day hh:mm}} [offset] CBS350(config)#clock summer-time zone recurring {usa | eu | {[day month year hh:mm] [day month year hh:mm]}} [offset] CBS350(config)#clock summer-time [zone] date [month day year hh:mm] [month day year hh:mm] [offset]The options are:
- Start - Second Sunday in March
- End - First Sunday in November
- Time 2 a.m. local time
- Start - Last Sunday in March
- End - Last Sunday in October
- Time 1 a.m. local time
- hh - 0 to 23
- mm - 0 to 59
- ss - 0 to 59
Enter the exit command to go back to the Privileged EXEC mode:
CBS350(config)#exitStep 10. (Optional) To display the configured system time settings, enter the following:
CBS350#show clock detailIn the Privileged EXEC mode of the switch, save the configured settings to the startup configuration file, by entering the following:
CBS350#copy running-config startup-configPress Y for Yes or N for No on your keyboard once the Overwrite file [startup-config]… prompt appears.
You have now successfully manually configured the system time settings on your switch through the CLI.
Looking for more articles on your CBS250 or CBS350 switch? Check out any of the links below for more information!