User manual

S
YSTEM
M
ANAGEMENT
C
OMMANDS
4-73
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
(e.g., 00:00:00, Jan. 1, 2001).
This command enables client time requests to time servers specified
via the sntp servers command. It issues time synchronization requests
based on the interval set via the sntp poll command.
The SNTP time query method is set to client mode when the first sntp
client command is issued. However, if the sntp broadcast client
command is issued, then the no sntp broadcast client command
must be used to return the switch to SNTP client mode.
Example
Related Commands
sntp server (4-71)
sntp poll (4-72)
show sntp (4-73)
show sntp
This command displays the current time and configuration settings for the
SNTP client, and indicates whether or not the local time has been properly
updated.
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: Jan 1 02:02:27 2005
Poll interval: 60
Current mode: unicast
SNTP status : Enabled
SNTP server 10.1.0.19 0.0.0.0 0.0.0.0
Current server: 10.1.0.19
Console#