34-6
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 34 Configuring NTP
Configuring NTP on the Switch
This example shows how to set the time zone on the switch:
Console> (enable)
set timezone Pacific -8
Timezone set to 'Pacific', offset from UTC is -8 hours
Console> (enable)
Enabling the Daylight Saving Time Adjustment
Following the U.S. standards, you can have the switch advance the clock one hour at 2:00 a.m. on the
first Sunday in April and move back the clock one hour at 2:00 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.
To enable the daylight saving time adjustment following the U.S. standards, perform this task in
privileged mode:
This example shows how to set the clock that is adjusted for Pacific Daylight Time following the U.S.
standards:
Console> (enable)
set summertime enable PDT
Console> (enable)
set summertime recurring
Summertime is enabled and set to 'PDT'
Console> (enable)
To enable the daylight saving time adjustment that recurs every year on different days or with a different
offset than the U.S. standards, perform this task in privileged mode:
This example shows how to set the daylight saving time adjustment, repeating every year, starting on the
third Monday of February at noon and ending on the second Saturday of August at 3:00 p.m. with a
30-minute offset forward in February and back in August.
Console> (enable)
set summertime recurring 3 mon feb 3:00 2 saturday aug 15:00 30
Summer time is disabled and set to ’’
start: Sun Feb 13 2000, 03:00:00
end: Sat Aug 26 2000, 14:00:00
Offset: 30 minutes
Recurring: yes, starting at 3:00am Sunday of the third week of February and ending
14:00pm Saturday of the fourth week of August.
Console> (enable)
Task
Command
Step 1
Enable the daylight saving time adjustment.
set summertime enable
[
zone_name
]
set summertime recurring
Step 2
Verify the configuration.
show summertime
Task
Command
Step 1
Enable the daylight saving time adjustment.
set summertime
recurring
week
day month
hh:mm week day month hh:mm offset
Step 2
Verify the configuration.
show summertime