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
Refer to this video:
Affected Products
Connectrix