Configuring the Switch
3-32
3
CLI
– This example configures the switch to operate as an SNTP unicast client and
then displays the current time and settings.
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 (before) or west (after) 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 (east) or after (west) UTC.
Web
–
Select SNTP, Clock Time Zone. Set the offset for your time zone relative to
the UTC, and click Apply.
Figure 3-23 Setting the System Clock
CLI -
This example shows how to set the time zone for the system clock.
Console(config)#sntp server 10.1.0.19 137.82.140.80 128.250.36.2
4-54
Console(config)#sntp poll 60
4-55
Console(config)#sntp client
4-53
Console(config)#exit
Console#show sntp
Current time: Jan 6 14:56:05 2004
Poll interval: 16
Current mode: unicast
SNTP status : Enabled
SNTP server 10.1.0.19 137.82.140.80 128.250.36.2
Current server: 128.250.36.2
Console#
Console(config)#clock timezone Atlantic hours 4 minute 0
before-UTC
4-56
Console(config)#
Summary of Contents for TL-SG5426 -
Page 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Page 17: ...Contents xiv...
Page 21: ...Tables xviii...
Page 25: ...Figures xxii...
Page 42: ...Initial Configuration 2 10 2...
Page 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Page 486: ...Software Specifications A 4 A...