3
Configuring the Switch
CLI – This example configures the switch to operate as an SNTP unicast client and
then displays the current time and settings.
Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#exit
Console#show sntp
Current time:
Poll interval:
Current
mode:
SNTP status :
SNTP server 10.1.0.11 137.82.140.80 128.250.36.2
Current server: 128.250.36.2
Console#
Setting the Time Zone
SNTP uses Coordinated Universal Time (or UTC, formerly Greenwich Mean Time,
or GMT) based on the time at 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 (after) or west (before) of UTC.
Command Attributes
• Current Time – Displays the current time.
• Name – Assigns a name to the time zone. (Range: 1-29 characters)
• Hours (0-12) – The number of hours before/after UTC.
• Minutes (0-59) – The number of minutes before/after UTC.
• Direction – Configures the time zone to be before (west) or after (east) UTC.
Web – Select SNTP, Clock Time Zone. Set the offset for your time zone relative to
the UTC, and click Apply.
3-34
June 6 14:56:05 2004
60
unicast
Enabled
Figure 3-21. Setting the Time Zone
4-55
4-56
4-54
4-56