Clock Set - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

clock set

S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
clock set
To change the system time on a Cisco MDS 9000 Family switch, use the clock set command in EXEC
mode.
Syntax Description
HH
MM
SS
DD
Month
YYYY
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
1.0(2)
Usage Guidelines
Generally, if the system is synchronized by a valid outside timing mechanism, such as an NTP clock
source, or if you have a switch with calendar capability, you do not need to set the system clock. Use this
command if no other time sources are available. The time specified in this command is relative to the
configured time zone.
The clock set command changes are saved across system resets.
Examples
The following example displays the clock set command:
switch# clock set 15:58:15 12 August 2002
Mon Aug 12 15:58:00 PDT 2002
Cisco MDS 9000 Family Command Reference
4-92
clock set HH:MM:SS DD Month YYYY
The two-digit time in hours in military format (15 for 3 p.m.).
The two-digit time in minutes (58).
The two-digit time in seconds(15).
The two-digit date (12).
The month in words (August).
The four-digit year (2002).
Modification
This command was introduced.
Chapter 4
C Commands
OL-8413-07, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents