Configuring the date
About this task
Configure the calendar time in the form of month, day, year, hour, minute, and second.
Procedure
Example
Configure the date and time, and then verify the configuration.
Switch:1>enable Switch:1#clock set 19042014063030 Switch:1#show clock Wed Mar 19 06:30:32 2014 EDT
Variable definitions
Use the data in the following table to use the clock set command.
Variable |
Value |
---|---|
MMddyyyyhhmmss |
Specifies the date and time in the format month, day, year, hour, minute, and second. |