Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Clock set command

From NetworkCommands

Image:Cisco-logo-large.gif

A command available on most Cisco platforms; used to configure the current date and/or time of the device.

Contents

Image:Vm-power-on-medium.png Usage Syntax

clock set hh:mm:ss dd mmm yyyy

Image:Vm-power-on-medium.png Usage Examples

clock set 20:45:00

clock set 20:45:00 1 JAN 2007

Image:accessories-text-editor-v2-medium.png Usage Notes

The highest year you can currently select is 2035.

You cannot set the date without setting the time.

Image:object-flip-horizontal-medium.png Command Equivalents

The Extreme command equivalent is the configure time command

The Linux and Vyatta platforms command equivalent is the date command

Image:icemon-medium.png Related Commands

To view the system time use the show clock command

To set the hardware clock, use the calendar set command


Site Toolbox:

Personal tools
This page was last modified on 4 June 2008, at 10:08. - This page has been accessed 41 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki