Name

clock set — command

Synopsis

clock set hh:mm:ss day month year
            

Description

This command manually sets the router’s internal clock. It is not stored in the router’s configuration. The time is specified in terms of a 24-hour clock; the year must be a full four digits (for example, 2001).

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.