System Management Commands 4

Example

Console#show ntp

 

 

Current time:

Jan

1 02:58:58 2001

 

Poll interval:

16

 

 

Current mode:

unicast

 

NTP status : Enabled

NTP Authenticate status : Enabled

Last Update NTP Server: 0.0.0.0

Port: 0

Last Update time: Dec 31 00:00:00 2000 UTC NTP Server 192.168.3.20 version 3

NTP Server 192.168.3.21 version 3 NTP Server 192.168.3.22 version 2

NTP Server 192.168.4.50 version 3 key 30 NTP Server 192.168.5.35 version 3 key 19

NTP Authentication-Key 12 md5 156S46Q24142414222711K66N80 7 NTP Authentication-Key 19 md5 Q33O16Q6338241J022S29Q731K7 7 NTP Authentication-Key 30 md5 D2V8777I51K1132K3552L26R6141O4 7 NTP Authentication-Key 45 md5 3U865531O13K38F0R8 7

NTP Authentication-Key 125 md5 A48S2810327947M76 7 Console#

clock timezone

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

Syntax

clock timezone name hour hours minute minutes {before-utc after-utc}

name - Name of timezone, usually an acronym. (Range: 1-29 characters)

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

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.

Default Setting

None

Command Mode

Global Configuration

Command Usage

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.

Example

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

4-61

Page 303
Image 303
Accton Technology ES3552XA, ES3526XA manual Clock timezone