Clock commands, Clock commands -84, Clock commands clock set – Enterasys Networks X-Pedition XSR CLI User Manual

Page 90: Clock timezone

Advertising
background image

Clock Commands

3-84 Configuring the XSR Platform

Clock Commands

clock set

This command sets the current time of the Real Time Clock chip (software module clock). After 
resetting the XSR, you must manually set the clock.

Syntax

clock set hh:mm:ss wday mday month year

Mode

Privileged EXEC: 

XSR#

Example

Set the clock to 2:59:59 p.m., Friday, October 7, 2002. Type the following:

XSR#clock set 14:59:59 06 07 10 2002

clock timezone

This command sets the time zone to reflect the local time and can be offset by up to 12 hours 
behind or 13 hours ahead of the Universal Time Clock (UTC) time as set for Greenwich Mean 
Time (GMT).

Syntax

clock timezone hh mm

Mode

Privileged EXEC: 

XSR#

Example

This example sets the time‐zone 5 hours and 30 minutes behind UTC time (Eastern standard time):

XSR#clock timezone -5 30

hh:mm:ss

Current time.

wday

Day of the week, ranging from 1 to 7. Sunday is 1.

mday

Day of the month, ranging from 1 to 31.

month

Month of the year. January is 1.

year

Year, ranging from 2000 to 2100.

hh

Number of hours offset (‐12 behind to +13 ahead of GMT).

mm

Number of minutes offset (0 to 59).

Advertising