set timezone

set timezone

Use this command to configure the current timezone as an offset from UTC.

Syntax

set timezone name [hours] [minutes]

Parameters

name

The name of the timezone. Typically, this name is a standard

 

abbreviation such as EST (Eastern Standard Time) or EDT (Eastern

 

Daylight Time).

 

 

hours

(Optional) Specifies the offset in hours from UTC. The value can range

 

from ‐13 to 13. The default is 0 hours.

 

 

minutes

(Optional) Specifies additional offset in minutes from UTC. The value

 

can range from 0 to 59. The default is 0 minutes.

 

 

Defaults

If you enter a timezone name without specifying an offset in hours and minutes, the default is an offset from UTC of 0 hours and 0 minutes.

Mode

Switch command, read‐write.

Usage

Typically, this command is used to configure the local timezone offset from UTC (Univeral Time) when SNTP is used to synchronize the time used by devices on the network.

To display the current timezone setting used by SNTP, use the show sntp command. To clear an existing offset to zero, enter the command without specifying any hours or minutes.

Standard timezone names and offsets can be found at the following URL, among others:

http://www.timeanddate.com/library/abbreviations/timezones/

Example

The following example sets the timezone name to EST and the offset to North American Eastern Standard Time offset of ‐5 hours from UTC, then displays the timezone used with SNTP.

C3(su)->set timezone EST -5

C3(su)->show sntp

SNTP Version: 3

Current Time: WED JUL 16 11:35:52 2008

Timezone: 'EST' offset from UTC is -5 hours and 0 minutes

Client Mode: unicast

Broadcast Count: 0

Poll Interval: 6 (64 seconds)

Poll Retry: 1

Poll Timeout: 5 seconds

SNTP Poll Requests: 2681

Last SNTP Update: WED JUL 16 16:35:23 2008

Last SNTP Request: WED JUL 16 16:35:23 2008

Last SNTP Status: Success

14-36 Logging and Network Management

Page 450
Image 450
Enterasys Networks 9034313-07 manual Set timezone, Usage