Clock timezone – Microsens MS453490M Management Guide User Manual

Page 543

Advertising
background image

C

HAPTER

21

| System Management Commands

Time

– 543 –

E

XAMPLE

Console#show sntp

Current Time : Nov 5 18:51:22 2006

Poll Interval : 16 seconds

Current Mode : Unicast

SNTP Status : Enabled

SNTP Server : 137.92.140.80 0.0.0.0 0.0.0.0

Current Server : 137.92.140.80

Console#

clock timezone

This command sets the time zone for the switch’s internal clock.

S

YNTAX

clock timezone name hour hours minute minutes

{before-utc | after-utc}
name - Name of timezone, usually an acronym. (Range: 1-30

characters)
hours - Number of hours before/after UTC. (Range: 0-12 hours

before UTC, 0-13 hours after UTC)
minutes - Number of minutes before/after UTC. (Range: 0-59

minutes)
before-utc - Sets the local time zone before (east) of UTC.
after-utc - Sets the local time zone after (west) of UTC.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

This command sets the local time zone relative to the Coordinated

Universal Time (UTC, formerly Greenwich Mean Time or GMT), based on

the earth’s prime meridian, zero degrees longitude. To display a time

corresponding to your local time, you must indicate the number of hours

and minutes your time zone is east (before) or west (after) of UTC.

E

XAMPLE

Console(config)#clock timezone Japan hours 8 minute 0 after-UTC

Console(config)#

R

ELATED

C

OMMANDS

show sntp (542)

Advertising