2-667
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set time
set time
To change the time of day on the system clock, use the set time command.
set time [day_of_week] [mm/dd/yy] [hh:mm:ss]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to set the system clock to Saturday, October 31, 1998, 7:50 a.m:
Console> (enable) set time sat 10/31/98 7:50
Sat Oct 31 1998, 07:50:00
Console> (enable)
Related Commands show time
day_of_week (Optional) Day of the week.
mm/dd/yy (Optional) Month, day, and year.
hh:mm:ss (Optional) Current time in 24-hour format.