C
ONFIGURING THE
Web – Select SNTP, Configuration. Modify any of the required parameters
and click Apply.
CLI – This example configures the switch to operate as an SNTP 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: 60
Current
SNTP status : Enabled
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. (Default: UTC; Range: 1-29
characters)
3-44
S
WITCH
Figure 3-20 SNTP Configuration
Jan
6 14:56:05 2004
mode:
unicast
4-70
4-71
4-69
4-72