clock

Description                                                    Set the system time and date.

Syntax                                                                  clock set time day month year

Parameter

Description

time

Set the time, using 24-hour format hh:mm:ss.

day

Set the day of the month (1-31).

month

Set the month (January, February, March, and so on).

year

Set the year (2013, 2014, and so on).

Mode                                                                   Privileged EXEC mode

Usage                                                                  Use this command to manually set the system time and date.

If the system clock is adjusted while OSPF or IS-IS is enabled, the routing protocols may stop working properly. To work around this issue, disable OSPF and IS-IS before adjusting the system clock.

Example                                                            Set the system clock to 5:51 p.m. and the date to February 22nd, 2015.

ACOS#clock set 17:51:00 22 February 2015

Table of Contents

Index

Glossary

-Search-

Back