Enterasys Networks XSR CLI Router User Manual


 
Clock Commands
3-84 Configuring the XSR Platform
Clock Commands
clock set
ThiscommandsetsthecurrenttimeoftheRealTimeClockchip(softwaremoduleclock).After
resettingtheXSR,youmustmanuallysettheclock.
Syntax
clock set hh:mm:ss wday mday month year
Mode
PrivilegedEXEC:XSR#
Example
Settheclockto2:59:59p.m.,Friday,October7,2002.Typethefollowing:
XSR#clock set 14:59:59 06 07 10 2002
clock timezone
Thiscommandsetsthetimezonetoreflectthelocaltimeandcanbeoffsetbyupto12hours
behindor13hoursaheadoftheUniversalTimeClock(UTC)timeassetforGreenwichMean
Time(GMT).
Syntax
clock timezone hh mm
Mode
PrivilegedEXEC:XSR#
Example
Thisexamplesetsthetimezone5hoursand30minutesbehindUTCtime(Easternstandardtime):
XSR#clock timezone -5 30
hh:mm:ss
Currenttime.
wday
Dayoftheweek,rangingfrom1to7.Sundayis1.
mday
Dayofthemonth,rangingfrom1to31.
month
Monthoftheyear .Januaryis1.
year
Year,rangingfrom2000to2100.
hh
Numberofhoursoffset(12behindto+13aheadofGMT).
mm
Numberofminutesoffset(0to59).