Chapter 7 Administering the Switch

Managing the System Time and Date

Displaying the NTP Configuration

You can use two privileged EXEC commands to display NTP information:

show ntp associations [detail]

show ntp status

For detailed information about the fields in these displays, see the Cisco IOS Configuration

Fundamentals Command Reference, Release 12.2.

Configuring Time and Date Manually

If no other source of time is available, you can manually configure the time and date after the system is restarted. The time remains accurate until the next system restart. We recommend that you use manual configuration only as a last resort. If you have an outside source to which the switch can synchronize, you do not need to manually set the system clock.

Note You must reset this setting if you have manually set the system clock and the stack master fails and different stack member resumes the role of stack master.

These sections contain this configuration information:

Setting the System Clock, page 7-11

Displaying the Time and Date Configuration, page 7-12

Configuring the Time Zone, page 7-12

Configuring Summer Time (Daylight Saving Time), page 7-13

Setting the System Clock

If you have an outside source on the network that provides time services, such as an NTP server, you do not need to manually set the system clock.

Beginning in privileged EXEC mode, follow these steps to set the system clock:

 

Command

Purpose

 

 

 

Step 1 clock set hh:mm:ss day month year

Manually set the system clock using one of these formats.

 

or

For hh:mm:ss, specify the time in hours (24-hour format), minutes,

 

clock set hh:mm:ss month day year

and seconds. The time specified is relative to the configured time

 

zone.

 

 

 

 

For day, specify the day by date in the month.

 

 

For month, specify the month by name.

 

 

For year, specify the year (no abbreviation).

 

 

 

This example shows how to manually set the system clock to 1:32 p.m. on July 23, 2001:

Switch# clock set 13:32:00 23 July 2001

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

OL-9775-02

7-11

 

 

 

Page 177
Image 177
Cisco Systems 3750E manual Configuring Time and Date Manually, Displaying the NTP Configuration, Setting the System Clock