System Management Commands
4-61
4
Example
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#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#
Console(config)#clock timezone Japan hours 8 minute 0 after-UTC
Console(config)#
Summary of Contents for 24/48 10/100 Ports + 2GE
Page 2: ......
Page 4: ...ES3526XA ES3552XA F2 2 6 3 E122006 CS R02 149100005500H...
Page 18: ...Contents xiv...
Page 22: ...Tables xviii...
Page 26: ...Figures xxii...
Page 34: ...Introduction 1 8 1...
Page 44: ...Initial Configuration 2 10 2...
Page 242: ...Configuring the Switch 3 198 3...
Page 498: ...Software Specifications A 4 A...
Page 511: ......
Page 512: ...ES3526XA ES3552XA E122006 CS R02D 149100005500H...