6-41
Using the Command Line Interface
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
show sntp
This command displays the current time and configuration settings for the SNTP
client.
Command Mode
Exec
Example
Outdoor 11a Building to Building (config)#sntp-server timezone +8
Outdoor 11a Building to Building (config)#
Outdoor 11a Building to Building #show sntp
SNTP Information
=========================================================
Service State : Enabled
SNTP (server 1) IP : 137.92.140.80
SNTP (server 2) IP : 192.43.244.18
Current Time : 08 : 04, Jun 20th, 2003
Time Zone : +8 (TAIPEI, BEIJING)
Daylight Saving : Enabled, from Jun, 1st to Sep, 1st
=========================================================
Outdoor 11a Building to Building #