SNTP Commands
sntp client
Table 22: Time Commands (Continued)
Command
Manual Configuration Commands
clock summer-time
clock timezone
clock timezone-predefined
calendar set
show calendar
* Daylight savings time.
This command enables SNTP client requests for time synchronization from NTP or
SNTP time servers specified with the
disable SNTP client requests.
Syntax
[no] sntp client
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
◆
The time acquired from time servers is used to record accurate dates and times
for log events. Without SNTP, the switch only records the time starting from the
factory default set at the last bootup (i.e., 00:00:00, Jan. 1, 2001).
◆
This command enables client time requests to time servers specified via the
sntp server
command. It issues time synchronization requests based on the
interval set via the
sntp poll
Example
Console(config)#sntp server 10.1.0.19
Console(config)#sntp poll 60
Console(config)#sntp client
Console(config)#end
Console#show sntp
Current Time:
Dec 23 02:52:44 2002
Poll Interval: 60
Current Mode: unicast
SNTP Status : Enabled
SNTP Server 137.92.140.80 0.0.0.0 0.0.0.0
Chapter 4
Function
Configures summer time
*
for the switch's internal clock
Sets the time zone for the switch's internal clock
Sets the time zone for the switch's internal clock using
predefined time zone configurations
Sets the system date and time
Displays the current date and time setting
sntp server
command.
– 121 –
| System Management Commands
command. Use the no form to
Time
Mode
GC
GC
GC
PE
NE, PE