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.
Follow these steps to set the system clock:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Manually set the system clock using one of
these formats:
Use one of the following:
Step 2
• clock set hh:mm:ss day month year
• hh:mm:ss—Specifies the time in hours
(24-hour format), minutes, and seconds.
• clock set hh:mm:ss month day year
Example:
The time specified is relative to the
configured time zone.
Device# clock set 13:32:00 23 March 2013
• day—Specifies the day by date in the
month.
• month—Specifies the month by name.
• year—Specifies the year (no abbreviation).
Configuring the Time Zone
Follow these steps to manually configure the time zone:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
11
Administering the Device
Setting the System Clock