How to set clock Time, Date, Daylight savings and NTP settings for Connectrix Cisco MDS switches
Publicado el sept 05, 2024
Learn to set clock time, date, time zone, daylight savings change, and NTP (network time protocol) for Connectrix MDS switches.
Welcome to Dell technologies
connect Cisco mds, how to series, how to set clock time, date, time zone, daylight savings change and NTP for MDS switches reference Dell knowledge base article number 019512. This video was created to demonstrate how to set clock time, date, time zone, daylight savings change and NTP for MDS switches.
This video presents the following time synchronization occurs when several frames are exchanged between clients and servers. The switches in client mode know the address of one or more NTP servers. The servers act as the time source and receive client synchronization requests. NTP has the following prerequisite.
The switch should have IP connectivity to other NTP enabled devices. NTP has the following configuration guidelines and limitations. You should allow a peer association with another device only when you are sure that the switch's clock is reliable. Either it has a high quality local clock or the switch is itself a client of a reliable NTP server.
A peer configured alone takes on the role of a server and should be used as a backup. If you have two servers, you can configure several devices to point to one server and the remaining devices to point to the other server. You can then configure a peer association between these two servers to create a more reliable NTP configuration.
If you only have one server, you should configure all the devices as clients to that server, you can configure up to 64 NTP entities, servers and peers. When to do this having one time standard for all network devices is critical for management reporting and event logging functions when trying to correlate interacting events logged across multiple devices.
In larger Cisco MDS fabric environments involving many domains, it may often be easiest to configure NTP peer or server to rest of MDS fabric and get time updates from an upstream NTP server for the fabric switches. Even if the active server link is lost, you can still maintain the correct time due to the presence of the pier.
If an active server fails a configured pier helps in providing the NTP time before you begin to configure NTP, use the following commands, make sure clock time is set within 10 minutes of actual time or NTP may not sync properly. If NTP feature is enabled, you cannot set the clock disable NTP, then set the clock and you can then enable NTP again to set the clock time.
Use the following syntax. This example sets the clock to 12 a.m. November 4th 2022 to set the time zone. Use the following syntax. This example sets the time zone to eastern time zone. Eastern time zone is UTC minus five and no minutes of offset. Run the command show clock to view the configured time zone to disable time zone. Run the command no clock time zone.
Now run the command show clock. You can notice that time zone is reverted back to UTC to set the daylight savings time use the following syntax. This example sets daylight savings time to start the first week of March Sunday at 2 a.m. and ends the first week of November on Sunday at 2 a.m. and sets the time forward 60 minutes on the start date and back 60 minutes on the end date, run the command show clock to view the applied settings to disable daylight savings time, run the command no clock, summertime.
Now run the command show clock and you can notice that time zone is reverted back to configure NTP. Use the following steps enable the NTP feature using the command feature. NTP, set the NTP server using the command NTP server followed by the IP address to display the NTP peer information, run the command show NTP peers.
In this example, only one server is configured, use the command show clock to view the applied settings. You can notice the time source is NTP important notes adjusting for daylight saving time or summertime. By default, mdss does not automatically adjust for daylight saving time.
You must manually configure the switch to adjust to the daylight saving time. For example, following us standards, you can have the switch advance the clock one hour at 2 a.m. on the first Sunday in April and move back the clock one hour at 2 a.m. on the last Sunday.
In October, you can also explicitly specify the start and end dates and times and whether or not the time adjustment recurs every year re synchronizing NTP. If the NTP client on a switch has lost synchronization with servers or peers, you may need to restart the NTP client.
This will restart the synchronization process with all NTP servers and peers configured on the local switch to restart the NTP client on the switch. Use the command NTP sync retry. Refer to the following for more information Dell knowledge base article number 019512 Cisco mds, 9000 series fundamentals, configuration guide release eight dot X chapter configuring NTP.