Configure the Date

Configure the calendar time in the form of month, day, year, hour, minute, and second.

About this task

Log on as rwa to perform this procedure.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Configure the date:

    clock set <MMddyyyyhhmmss>

  3. Verify the configuration:

    show clock

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.