Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

Cisco: how to set clock time, date, timezone, daylight savings change, and NTP for MDS switches

Summary: Standard commands/procedures for setting Cisco MDS switch clock date and time info.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Set time zone:

config
clock timezone zone-name offset-hours offset-minutes

 example to set eastern time zone: ( eastern time zone is UTC -5, no minutes of offset)

config
clock timezone EST -5 0

--------------------------------------------------------------------------------------------------------------
Set daylight savings time: ( Set the dates when the clock will change ahead and behind an hour, need to change this manually every year as the dates change)


Example for eastern daylight savings time:( setting the time zone, start week, day, month, time/ end week, day, month time/ offset in minutes)

This command sets daylight savings time to start the first week of march, Sunday, at 2 am and ends the first week of November on Sunday at 2 am, and sets the time forward 60 minutes on the start date, and back 60 minutes on the end date.

config                  
clock summer-time  EDT 1 Sunday March 02:00 1 Sunday November 02:00 60


--------------------------------------------------------------------------------------------------------------
Set clock time: ( set time, day, month, year)

config
clock set 12:00:00 3 December 2017

If ntp feature is enabled, you cannot set the clock. Disable ntp (no ntp enable or no feature ntp), Then set clock, Then you can enable ntp again.
--------------------------------------------------------------------------------------------------------------
Configure ntp: make sure clock time is set within 10 minutes of actual time or ntp may not sync properly.

config
ntp enable

ntp server 192.168.1.1<--- -sets the ntp server ( required, can set multiple peers as well)
ntp peer 10.1.1.1  <-----sets a peer switch that is using ntp or another ntp server ( not required)


to manually attempt ntp sync to clock, run the command:

 ntp sync-retry



Additional Information

Refer to this video:

Affected Products

Connectrix
Article Properties
Article Number: 000019512
Article Type: How To
Last Modified: 24 Jan 2023
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.