C
HAPTER
21
| System Management Commands
Time
– 543 –
EXAMPLE
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.
SYNTAX
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.
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)#
RELATED COMMANDS
show sntp (542)